How do I add collision between player projectile and enemies?

Maybe something like this: if (!collided()) move();

1 Like