Garry's Mod Wiki

Garry's Mod Wiki

  DSlider:SetLockY( number lockY = nil )

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.

Arguments

1 number lockY = nil
Set to nil to reset lock.

The value range is from 0 to 1.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...