Hi, I am new to blueprints. I am trying to move my character left and right along the axis using widget buttons. But can’t for the life of me figure out were to use what nodes.
I have a Widget Blueprint and a Player pawn that is connected to my game mode and plugged in correctly.
Appreciate the advice. Thank you
The UI should have those 2 custom buttons you made, here you can set their data. And add any other UI elements, healthbars and whatnots.
The general idea when working with UMG is to make small modular user widgets out of native elements (buttons, borders, progress bars) and add those to the Main UI which you bring up to the viewport.
Avoid plopping down orphaned nodes, start with dragging a wire first, then search for what is needed, taking advantage of the Context Sensitive nature of the actions menu:
The same goes with plugging the wires into nodes, the order in which you do it will occasionally matter since wildcard (grey) pins will inherit type.
If in doubt, consider attaching a screenshots showing what generates the errors. In case you want to study it up close, here’s a link to the sample project UE5 v5.3.1: