Garry's Mod Wiki

DHScrollBar:BarScale

  number DHScrollBar:BarScale()

Description

Returns the scale of the scroll bar based on the difference in size between the visible "window" into the canvas that is being scrolled. Should be used after DHScrollBar:SetUp.

Returns

1 number
The scale of the scrollbar.