Checking for objects! Help!


Skyler Clark

Hello! So I have a problem with my enemies spawning on items and each other, and not being able to move. Can someone show me the code to check if there is not an object in the way before spawning the enemy? I know it’s simple, but I’m self taught. Thanks for your time!
You want to look at 'place_meeting' or other collision checks, and use one to test if a position is free before spawning. Look up 'gameplay / movement and collisions / collisions' in the manual to find all the available types.