i’m new to flash and i’m just wondering if this hittest is correct cause it doesn’t work.
Basically my game is a guy who can move 8 directions and can fire a laser, but i can’t get it so that when the laser hits the enemy, he disappears
onClipEvent (enterFrame) {
if (_root.laser, hitTest(_root.enemy)) {
_root.laser.removeMovieClip();
_root.enemy.removeMovieClip();
}
}