Garry's Mod Wiki

DHScrollBar:AddScroll

  boolean DHScrollBar:AddScroll( number add )

Description

Adds specified amount of scroll in pixels.

Arguments

1 number add
How much to scroll rightwards. Can be negative for leftwards scroll

Returns

1 boolean
True if the scroll level was changed (i.e. if we did or did not scroll)