How can I play a widget's animation through a key press?

Hello, thank you for your reply! But It does not work, if I drag out a wire from the variable and search for play animation nothing comes up