hitTestObject - Multiple Times

Hello.

I have the following code to pick up collision detection between two objects:


public function loop(e:Event) : void
  {
     if (this.heli.hitTestObject(enemy)) {
         Clashed();
          
       }
    }

and


public function Clashed()
        {                        
            trace("Clash!");                
            ScoreCounter++;
            trace("score: " + ScoreCounter);

        }

It works but in the output (from trace) it shows it as a ‘clash’ multiple times for ‘one clash’, and score count can go up to a large number if you hang around the same area.

How can I get it so it only seems it as one ‘clash’?

thanks.