How do I...set a state of completion for a rock-pushing puzzle?

So I made a rock pushable using set-movement-route, and "moving" away from the player by player touch. As you can imagine, whenever the player leaves the room, the rock will reset back to its original spot. How do I make it to where, once the rock reaches a certain spot, it stays there? I imagine some form of triggering the spot with a self-switch?
Hey there, this can easily be solved with yanfly's save event location:

You can use a plugin command when your puzzle is ready to save event locations and void them to change their position.

Hope this helps you 😉
Hey there, this can easily be solved with yanfly's save event location:

You can use a plugin command when your puzzle is ready to save event locations and void them to change their position.

Hope this helps you 😉

Oh wow thank you!!

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-set-a-state-of-completion-for-a-rock-pushing-puzzle.125841/