Hi,
I have a scene where I want to move a Widget in x-direction smoothly from one point to another during a certain amount of time when a button on a gamepad is pressed. I have tried three different approaches but I cannot solve it in either way.
My first approach was to create a widget and then move the widget in the level blueprint. However I cannot figure out how to move the widget smoothly from one position to another, rather than setting a new position and teleport it directly.
My second approach was to make an animation in the widget where I move the menu the way I want. Everything looks fine but the problem is that I cannot seem to access gamepad inputs from within the Widget blueprint. To be clear, I don´t want to run the animation when the widget is constructed, I want to run it when a gamepad button is pressed.
My third approach was to try to play the animation from within the level blueprint. However, I cannot seem to be able to select an animation to play from within the level blueprint.
Please help.