  We investigate the effect of sliding motion of layers in Moir\'e
heterostructures on the electronic state. We show that the sliding Moir\'e
heterostructure can generate nontrivial topology characterized by the first and
second Chern number in the high dimensional manifold spanned by the physical
dimensions and synthetic dimensions associated with the sliding displacement.
The nontrivial topology implies a topological charge pumping caused by the
sliding motion. We demonstrate the nontrivial topology and charge pumping
explicitly in a one dimensional bi-chain model and the small-angle twisted
bilayer graphene. Contrary to the conventional belief that the interlayer
sliding in incommensurate Moir\'e Heterostructures does not affect the
electronic structure, our results reveal that the sliding motion can generate
nontrivial topology dynamically and hence cannot be neglected in the dynamical
process.
