Garry's Mod Wiki

Revision Difference

DSlider:SetLockY#518459

<function name="SetLockY" parent="DSlider" type="panelfunc"> <ispanel>yes</ispanel> <description> Sets the lock on the Y axis. For example the value 0.5 will lock the draggable panel to half the height of the slider's panel. </description> <realm>Client</realm> <args> <arg name="lockY" type="number" default="nil">Set to nil to reset lock.&#xA;&#xA;The value range is from 0 to 1.</arg>⤶ <arg name="lockY" type="number" default="nil">Set to nil to reset lock.⤶ The value range is from 0 to 1.</arg>⤶ </args> </function>