Garry's Mod Wiki

DVScrollBar:BarScale

  number DVScrollBar: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 DVScrollBar:SetUp.

Returns

1 number
The scale of the scrollbar.