Hello guys, somebody can explain how to use same events to multiple objects?
For example, I have enemy 1 and enemy 2. I want to make the same things,like walk until he gets close to the player, attack when close to the player, and die when his HP comes to 0.
I've tried using families but it doesn't worked.