[Solved]How do you get the current animation's name?



  • 	trace(animation.frameName);
    	trace(animation.curAnim);
    	trace(animation.name);
    

    those are all null.. My animation is just a single frame named "on" which is what I want to check if its playing so then I can change it to play "off"

    EDIT: I had an error in my code.. animation.name seems to do what I wanted


Log in to reply
 

Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.