My cliffs/hills is acting weird

As seen on this image I have the inn located on a cliff/hill, and I can walk off the edge on the right side but I don't want to allow this to happen, but when putting the "x" on the edge in the database, I can't really walk close to the edge, is there any way I can solve this?

Skärmbild 2024-03-15 095248.png
Skärmbild 2024-03-15 095301.png
1. O and X are for full tile collisions, you need to set the 4 dir collisions, maybe check first and try to learn the basics.

2. Any tiles with transparency, rounded cliffs, trees, objects, etc should be placed on tab B and above.
On the tileset tab you will see that the second button is 'Passage (4 dir)'
Click on that and you will then see that each tile has a little direction arrow in all four directions.
If you want the player to be able to walk on a tile, but not go over the edge, click the little arrow on the right side.

Here is an example from my own tileset. I don't want the player to be able to walk over any of the edges. That little dot instead of one arm of the direction arrow shows where the player cannot walk. On the corners there are two dots because I don't want the player to walk down or to the side.

1710494297298.png
Thanks everyone! Got it to work! =)

Original thread: https://forums.rpgmakerweb.com/threads/my-cliffs-hills-is-acting-weird.166816/