Does anybody know how to make an enemy not fall of an edge? (like a red koopa) (FIXED)

i dont specifically need my enemies to not fall of an edge it just improve my game.

You could do a raycast pointing at 240’ and 300’

or you could create a invisible block set to enable collisions

You could do that too, just make sure the block isn’t solid

tried the collision yet not solid thing it doesn’t work for me and i cant find a ray cast behavior

Oh for the invisible object, try make the entire block of one color. Then set Once -> 0 -> alpha.

For the raycast is at the bottom of the components tab (left side bar of the editor)

thanks @JR 01 your a lot of help!