for the movement it might be a little bit more tricky,
what i ll do :
1)create a boolean in your character BP, name it “ismovingforward”
2) create a custom event, you ll name moveforward , and add it a float input for scale
3) connect your custom event to the add forward input
4) on the event tick, add a branch, connect your bool as condition, on true output, connect a call to your custom event
should look like this :
- in your widget set your boolean to true on the onclick event
- in your widget , create an onrelease event of your button and set the boolean to false using same method as 5
do the same for every moves you plan to do, creating a bool and custom event for each.
an other way shoul be to bind events to inputs, be if you 're starting learning the engine, you can start with what i just gave you. and learn the “bind” system later.
hope it helps