DSlider/SetLockY

From Garry's Mod
Jump to: navigation, search
 DSlider:SetLockY( )

DescriptionPanelFunc

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.

Arguments

number lockY=nil

Set to nil to reset lock.

The value range is from 0 to 1.
Personal tools
Navigation