Garry's Mod Wiki

DSlider:SetTrapInside

  DSlider:SetTrapInside( boolean trap )

Description

Makes the slider itself, the "knob", trapped within the bounds of the slider panel. Example:

image.png

Arguments

1 boolean trap