Is it simple user widget or Touch interface?
In first case, in widget, use OnPressed event and do GetPlayerCharacter → CastTo → and call Jump function in it.
In second case you can set Key action in button settings.
Is it simple user widget or Touch interface?
In first case, in widget, use OnPressed event and do GetPlayerCharacter → CastTo → and call Jump function in it.
In second case you can set Key action in button settings.
It is a **simple user widget **.
And can you give me more detailed steps.
Thanks!
Thank you so much!
I will try and let you know if it works.
Is this the same if it is a 2D Sprite Game for Mobile?
I have done the above and it works,
But the Jump animation / flip book is not playing.
This is where i declare my jumping animation and declare Jump.
could you be more specific please…/
Thank you!
It Worked!
I am trying to map my UMG Widget Button to the character Jump action.
How exactly would I do this…
I have the Buttons displaying in the HUD correctly but when I click on the Button, I would like the Character to Jump.
Is this possible? And how would I do this?
Update
This is a 2D Sprite game for Mobile
Thanks.
You are very welcome. I hope helpful.
When clicked button set true “is jumping” in UMG.