Disable key activation when animation is playing

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 .