How can I replicate this effect?

I want to know how they move the images around the frame

Video: https://www.tiktok.com/@uncle_dijon/video/7421271554257964293?is_from_webapp=1&sender_device=pc