Garry's Mod Wiki

DHorizontalScroller:SetScroll

  DHorizontalScroller:SetScroll( number scroll )

Description

Sets the scroll amount, automatically clamping the value.

Arguments

1 number scroll
The new scroll amount