Garry's Mod Wiki

Revision Difference

DVScrollBar:AnimateTo#553660

<function name="AnimateTo" parent="DVScrollBar" type="panelfunc"> <ispanel>yes</ispanel>⤶ <description>Smoothly scrolls to given level.</description> <realm>Client and Menu</realm> <args> <arg name="scroll" type="number">The scroll level to animate to. In pixels from the top ( from 0 )</arg> <arg name="length" type="number">Length of the animation in seconds</arg> <arg name="delay" type="number" default="0">Delay of the animation in seconds</arg> <arg name="ease" type="number" default="-1">See <page>Panel:NewAnimation</page> for explanation.</arg> </args> </function>