Variable collision?


#1

I am making a game where enemies spawn off screen and move to the middle to attack the base. I want an enemy to stop when it is in contact with the player, but I want the other enemies to be able to walk by without colliding with the player. Is this possible?


#2

You probably need to use for each events.
http://wiki.compilgames.net/doku.php/gdevelop5/events/foreach


#3

Thank you I will try this