Hey all, I have a slider in UMG, and i would like to set it to snaps, for example, divided into 10? Cant seem to find out how.
Here’s a variant of snapping. Instead of snapping to values you can choose number of snaps…
STEP 1: Add this function in your Widgets blueprint…
STEP 2: Then Setup the events to trigger the snapping. Don’t forget to connect your slider and set number of steps…
Note! Since the function is not hard connected a slider the same slider can be used any number of sliders within the widget. In other words no need for rewrites for each slider. ![]()
Nice and clean!




