Block an event

Hello,

I would like to make a climbing wall with lizards that make my character fall.
For that, I want limit the area of displacement of the lizard, like this:
1508401941-capture-d-ecran-2017-10-19-a-14-31-37.png


But I don't know how to configure the settings so that the lizard can not go beyond that area.
Like this, it doesn't work:
1508401941-capture-d-ecran-2017-10-19-a-14-31-58.png


Thank you for your help 🙂
You can use a plugin, but wouldn't a fixed Movement Route be considerably simpler to implement?
I use this plugin (sorry, I forgot to specify it in my first post).

a fixed Movement Route: I prefer a random route to make it more realistic. That's why I wanted to use the limited regions with this plugin.
But my lizard doesn't want to come back when it meets these regions. :/
I solved the problem. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/block-an-event.85971/