c++ touch button mobile

Hey Guys,

I’m looking for a way to add touch buttons on screen like the joystick coming in the templates for example third person or side scroller whatever… something when i click/touch the touch buttons will execute c++ functions like jumb, grab or pickup …

i was researching but there are examples with blueprints and i’m looking for c++ example, api reference or something…

You can use slate widgets for that. SButton in particular. But to be honest I’d create the UI with UMG because it’s way faster. You can create your own UUserWidget class and implement your logic in c++ too.

do you have any example that i can take a look?

i think with ump you put actual button that is not related to the touch system but it’s a classic button, it’s not like the joystick coming by default from the template?