Garry's Mod Wiki

Revision Difference

DHorizontalScroller:ScrollToChild#550214

<function name="ScrollToChild" parent="DHorizontalScroller" type="panelfunc"> <ispanel>yes</ispanel> <description>Scrolls the <page>DHorizontalScroller</page> to given child panel.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="target" type="Panel">The target child panel. Must be a child of <page>DHorizontalScroller:GetCanvas</page></arg> </args> </function>