Event that falls down when there's nothing below it?

I'm making a game where you are a mole and you dig through a screen full of dirt blocks, but there are also some rocks scattered across the screen, the idea is that when you dig one of the dirt blocks (which are events) that has a rock above it and then you move (so the rock has nothing underneath it), the rock will fall until it has another event below it and then it will stop.
Is there a way to do this? a way to constantly check if there are any events (or a player/character) below? And then follow that up with a "set movement route". Can I do it with event commands or do I have to use scripts? It would also be useful to have a variation of this but with the player being the one falling

Thanks for any help ☺️ (also this is my first post sorry if i did something wrong)
It is actually easy to do, just set the rock's movement route in the event page to move down, repeat and skip.
It is actually easy to do, just set the rock's movement route in the event page to move down, repeat and skip.
it doesn't fully works, if only the dirt block is removed then the rock falls normally, but I coded it so that when the player touches a dirt block the player takes a step forward and then the block event is deleted, If I do that, even if the player moves away the rock freezes in place (the player being able to walk below the rocks before they fall is important for the puzzles). Thanks anyway! it was super obvious haha
I do't see why it doesn't work.
The dirt block (set touch to trigger):

◆route:player (wait)
:turn on through
:step forward
:turn off through
◆erase event

So the player will move 1 step into the dirt block, then the dirt disappear.
If the player leaves, the rock above it will move down until it reaches another dirt or rock.
I do't see why it doesn't work.
The dirt block (set touch to trigger):

◆route:player (wait)
:turn on through
:step forward
:turn off through
◆erase event

So the player will move 1 step into the dirt block, then the dirt disappear.
If the player leaves, the rock above it will move down until it reaches another dirt or rock.
That one worked perfectly! I never use the "set movement route" event, so I didn't realize you could do that, tysm! sadly I can't use this method to make the player fall if there are no blocks under them either, but that kind of a different question and probably more dificult to pull off so it's fine, thanks anyway!!
It reminds me of a nes game dig dug.
In which the player doesn't fall.
Spoiler
1722044753863.png
If you want the player also falls you need to run a paralell event which constantly change the player's y position I guess.
There should be platformer plugins which make the job easier, if you don't want to code an entire gravity logic.

Original thread: https://forums.rpgmakerweb.com/threads/event-that-falls-down-when-theres-nothing-below-it.170645/