Need Items to fall/disappear

So I'm adding some light sokoban elements to my game (just pushing things out of character's way in order to move forward), and it's in an area where there's spaces where the character can fall (they immediately respawn back where they were before they fell). I'd like to be able to make it so the things the character pushes into these areas fall too (minus the respawning for the items ofc). Any help on how to do that?
Just put the same logic into the barrel event.

After it moves, check the region ID of its current tile, and if it's a hole you turn on a self switch to a second, blank page.
Just put the same logic into the barrel event.

After it moves, check the region ID of its current tile, and if it's a hole you turn on a self switch to a second, blank page.
Do I need to change the script (the $gameMap.regionId($gamePlayer.x, $gamePlayer.y)==11 stuff)? Cause I just followed the directions from a tutorial exactly and don't know how scripts actually work so am not sure how to change them up. But if it's just copy as is into the barrel event that I can do. Either way thank you!
You don't need any scripts for this. You don't need them in your existing event (although there's nothing wrong with it, so I'm not saying you should change it) and you don't need them now.

Everything you want to do for this can be done with the regular Control Variables, Get Location Info, and Conditional Branch event commands.
You don't need any scripts for this. You don't need them in your existing event (although there's nothing wrong with it, so I'm not saying you should change it) and you don't need them now.

Everything you want to do for this can be done with the regular Control Variables, Get Location Info, and Conditional Branch event commands.
Thank you. I only have the script because it's how it was done in the tutorial I followed (here in case anyone's curious). Going to sleep right now but I'll attempt the variables later after I get up.
That might be a good way to go for someone who has some experience and wants to make the event as efficient as possible.

But I don't think it's a good method for a tutorial, because that can all be done via regular event commands and then the student (as in your case) is stuck not actually knowing how to use or modify the process.

Plus, there's no speaking or even text that actually explains any of it 🙄 But in any case, you should be able to get it from there!
and as a hint to find what was mentioned above:
the true strength of the control variable command is partially hidden behind game data : Map ID.
if you select game data and then change the default Map ID, you'll find a lot of data to get.
it is one of the most important commands in the entire event engine.
Yes! Following the advice here (thank you @ATT_Turan and @Andar very much!) I was able to get it working and now when pushed over the side the barrel disappears just like I wanted!

However while testing it I found a different yet related game breaking bug. Think it's better putting it here than making a new thread for it.
While pushing the barrel works perfectly now there's a problem that can occur when pulling the barrel. The player can pull the barrel even if it means the player walks off the edge and falls over. Of course they respawn back on the ledge, but now they can't move at all and are just stuck there. Tried fixing it myself, attempting to check if the character's going to wind up on the wrong region id doing the event and stopping it, but I can't quite figure it out. Again, any help is appreciated.

Original thread: https://forums.rpgmakerweb.com/threads/need-items-to-fall-disappear.169302/