Skip to content

UI Slider Moved ​

UI (buttons, toggles, sliders)Slider.onValueChanged

A UI Slider is moved; its value is the event's value.

Pick the UI element (a button...). To press it in VRChat, its Canvas needs a VRC Ui Shape.

Happens when the slider in the card's UI element moves. It is wired like a button: on conversion Tripwire adds a call in the slider's On Value Changed (UI Button Pressed). While the handle is dragged, it fires each time the value changes.

The event's value is the slider's value, from its Min Value to its Max Value. It arrives as a number with decimals even with Whole Numbers on.

If moving keys or sticks nudge the slider, set its Navigation to None. Unity's Slider also has a separate SetValueWithoutNotify that changes the value without calling On Value Changed.

Official docs: Slider (Unity UI), Slider API (Unity UI), VRC Ui Shape (VRChat)

Event values

Values this event has; action settings can use them as targets or values.

NameType
The event's valueNumber

On a card

WhenUI Slider Moved⋯
What to do
+ Add what to do

In the same category