onClipEvent (enterFrame) {
if (this.hitTest(_root.greencursor) && (Key.isDown(85))) {
play();
_root.greenpoints += 1;
}
if (this.hitTest(_root.redcursor) && (Key.isDown(81))) {
play();
_root.redpoints += 1;
}
}

It works, but how do I make the code so that once one of the cursors hits the target(the this) and gets the += 1, the other one can't. (what happens is if they hit about the same time, they both get the points)