Event triggers an event when above another event (lol)

How can i make what i've said in the title of this post? Let me explain:
In my game there's a minigame that involves the pushing of a box on a button that opens a door, pretty basic, but
i don't know how to make the box open the door as soon as it is above the button. Is there a way that the first event (the box) when above the second event (the button) triggers the third event (door opening)?
Thanks in advice.
i don't know how to make the box open the door as soon as it is above the button. Is there a way that the first event (the box) when above the second event (the button) triggers the third event (door opening)?
Thanks in advice.
make it so that every time the box is pushed, its position data is saved to some variables. then on the same event page, compare those variables to the coordinates of the button to flip a switch and open the door

the button doesnt need to do anything. it can be a tile or an event with through on
Sorry, could you tell me how to do it? ;_;
the rock
1718847274526.png

the "button" is at (2,9).
the door is just a standard door. just give it a page that uses the switch this turns on
It would be better for you to try to follow the instructions - make an event. Then, if it doesn't work, you have something to show us and we can help fix it. You'll learn more that way than just following what someone else did.

Or you could Google "rpg maker boulder switch" and find probably dozens of threads and several YouTube tutorials about it 😛
Still having problems. The fact that a simple things like this is so complicated to do is making me mad
what about it is causing problems? what isnt getting done that youre expecting to get done? can you show a screenshot of what youve done?
We cant know what the issue is and make suggestions if you only say youre "having problems"
Guys thanks for the help, found a plugin in another post in this forum (A Galv's one)
Very useful it resolved my problem!

Original thread: https://forums.rpgmakerweb.com/threads/event-triggers-an-event-when-above-another-event-lol.169638/