hi everybody, i cannot get hittest to work.
i have uploaded the .Fla file of my project. i have a knife falling from the sky, and need to detect if it hits the player.
extra information:
i have 2 movieclips, one named "Knife" and the other named "Player"
This code DIDNT work for me:
ThankyouCode:onClipEvent(mouseMove) {
if (_root.Knife, hitTest(_root.Player)) {
gotoAndStop(2);
} else {
textbox.text = "No hit yet";
}
}
-Adam
