Map UMG Button to Action Mapping / Jump
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
You can follow screenshot for this.
answered Jun 15 '17 at 07:46 AM
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.
answered Jun 15 '17 at 06:06 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here