Hello there! Im trying to make a shooter game where i shoot enemies and the enemies shoot back. To make the enemy shoot i made an invisible line following the player and when the enemy and the invisible line overlaps the enemy shoots. But the problem is that he shoots many times since the enemy overlaps many times its frame! Is there a way to control the rate of fire? Or is there a different approach? Thank you in advance!