Play Character animation through button in UMG

hi everyone

I’m trying to make a mobile game for ipad. I made my HUD using widget blueprints, and I need one of the buttons to play an animation. Thanks

HI!

Example:

1 Add character to scene and add animation to it using matinee:

2 Create a widget with a button and create an onClicked event for the button. Create a PlayAnim dispatcher. Add Сall PlayAnim node.

Open Level Bluerpnt and add this

You need to create reference variable for get access to dispatcher

instead of onClicked, would I use onPressed, because i’m using mobile?