Garry's Mod Wiki

DSlider:OnValueChanged

  DSlider:OnValueChanged( number x, number y )

Just Added

This was just added in the latest version (2023.01.25). It might only be available on the Dev Branch right now.

Description

Called when the values of this slider panel were changed.

Arguments

1 number x
The X axis position of the slider in range 0-1
2 number y
The Y axis position of the slider in range 0-1