How to make Moving objects that cause player to teleport to beginning of puzzle

Hello,

I  recently got RPG Maker VX Ace so I am very new to it and I need some assistance. I want to make a challenge where there is objects moving back and forth along the screen and by touching them you teleport back to the beginning of the puzzle. Any help is appreciated.
Have the objects' triggers set to Event Touch, and the commands will be to transfer the player.


Use the Autonomous Movement > Custom Move Route to do the moving back and forth.
This worked thank you. Your help is appreciated. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-moving-objects-that-cause-player-to-teleport-to-beginning-of-puzzle.43585/