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

Hello, thank you for your reply! The variable type is user interface. In my widget I checked if the animation was public; it said it was public but missing tooltip