Here’s one technique using @MaxZieb’s “Hype ClipPath” method…
In this demo the masks (vectors) change shape as they move over the images.
As to your specific example one would need to animate the image in the opposite direction of the mask movement in the same time duration to appear to not move.