Download

Disable key activation when animation is playing

Hi! I have animation by pressing key, its ok! But when i prees key again its playing from start! How disable key activation when animation is playing? thanks!

Hi aekazmin,

You should check animation status with “Is Playing” node.

e5292f13ec6c7cdd8e8defe8732a45ee2397acf1.png

very helpfull! thanks! its working! but when open animation is compete and i press key its begins from the start, how i can fix this? many tnx!

just create a bool variable named " PlayedBefore" and set it to true after “play” node . then put another branch ( or add an “And” node to the existing condition) after “Z” node and check if that bool “PlayedBefore” is true or false .