I’m using this code to detect a collision with the movieclips circle and line, but it doesn’t appear to be working.
if(circle.hitTestObject(line)){
// stuff
}
Can someone please tell me what’s wrong? Thanks in advance =D
EDIT: Oh wait, never mind. I just forgot the event listener. Solved.