This is the action i want the button to do. I am making a third person shooter for ios thus i need this button. Please help ASAP.
Add a UMG button, select On Click or On Touch and use that to feed into your blueprint to do ‘fire’ or whatever you wanted.
`when i try this i cant just type the action mapping “fire”. this makes me confused
Post a photo of your blueprint.
here is the action mapping
Have you hooked your button up to the blueprint with On Click?
YEA i HAVE
You have a perfect solution in the link in the 2nd post:
What’s up with that spammy bumping?
You cannot have Action Mapping in UMG, widgets handle input very differently. There are ways around it but it’s more involved. Essentially, use the button to trigger a function elsewhere. Or…
Have the button trigger your Fire function instead of Jump, ofc. So it would be something along the lines of:
Now, both the Action Mapping and the Widget button’s onClick execute the same function.
Thanks for the response I let you know if it works