It depends on the type of game you're making. If you're developing a platformer using the Platformer behavior, then you can use Platform has wall to right/left
and Platform is on floor
to check for bottom and side collision. To check for collisions with ceiling, simply test the overlap at ofset using Object is overlapping at offset 0 -5
.
If you are making a top-down game with a fixed size grid and grid-based movement, you should calculate the tile x and tile y at the player's position, and then check for neighbouring tiles using Compare Tile at Tile x Tile y
Otherwise just use Object is overlapping at offset x y
with offset that correspond to the 4 directions.