Hello guys, I have a question is there a way to code a hittest so that if it touches the object say 5 times then it does what is suppose to?
Example:
if(this.hitTestObject(apple))
{
removeEventListener(Event.ENTER_FRAME,update);
parent.removeChild(this);
apple.y=600;
apple_mc.y= 1000;
}