Widget Buttons Momentary vs Toggle

Hi, I am relatively new to Unreal and I am looking for a way to make a button a toggle button. As they are in the widget panel it seems they are just momentary buttons and I need them to remain pressed up on pressing them. is there a seperate button for this? maybe a switch or something or is there a setting to make them toggle/latching buttons in the settings?

There may be as many ways to approach this as there are people. This could work:

Essentially, the above is a User Widget (called wSwitch but misspelled :expressionless: ) with a native button inside. Instead of native buttons, we add those wSwitches where needed - each capable of holding a state, playing its own animations, defining variables, functionality and so on…


Wrapping native widgets in User Widgets to grant them more functionality is at the core of modular UI design. You may eventually abandon mundane Native Borders and craft a Funky User Widget Border instead, with fancy 9-slice dynamic material highlight animation and a Named Slot hosting the above-mentioned User Widget wSwitch…

1 Like