VXAce [SOLVED] Script (or command) that player and events "can't step on a certain tile"

Hello!
Is there any script (or command) that players and events "can't step on a certain tile or tiles" ?
Thank you!!
I'm not sure I understand what did you say?
A script that makes an event unavailable for a player or another event to go through it/walk over it
er.. might want to be more specific, like what are you aiming for? is it to prevent characters walking on parallaxed items (like walking onto a barrel when it shouldn't) or just trying prevent walking onto a single tile? cuz there's stuff that can be done via eventing depending on what you're going for.
Yanfly region restrict
Yanfly region restrict
You mean Yanfly's Move Restrict Region?
Okay i found it Thank you!
I will try it

By the way, i have Region Common Events by Shaz but his script doesn't seem to have any commands for events.. anyone correct me if i am wrong..
@RedRose190
the simplest way would be to set the passability of that tile to impassable.
if you're talking about an event, then set it to "same as player" priority and no one can pass it.
if you want something more complex, you need to explain what you want in more detail.
@RedRose190
the simplest way would be to set the passability of that tile to impassable.
if you're talking about an event, then set it to "same as player" priority and no one can pass it.
if you want something more complex, you need to explain what you want in more detail.
I am trying not to place many events because of the laggs.. so i am working more with common events and regions

and there is a way for a player not to go though a tile (by setting the tiled in tilesets impassable) but i need specific tiles and to not be able to go thought by event. not the player.
then that is the mentioned region restrict.

that is the only script I know of that makes a difference between player and event move restrictions.
Yanfly's Move Restrict Region works like a charm!
Thank you Roninator2 and Andar!!
And thank you LazyPanda19 and DateMajima for trying to help <3

Original thread: https://forums.rpgmakerweb.com/threads/solved-script-or-command-that-player-and-events-cant-step-on-a-certain-tile.147127/