Garry's Mod Wiki

Revision Difference

Panel:SetCursor#511043

<function name="SetCursor" parent="Panel" type="classfunc">⤶ <description>Sets the appearance of the cursor.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="cursor" type="string">The cursor to be set. Can be one of the following:&#xA;&#xA;* arrow&#xA;* beam&#xA;* hourglass&#xA;* waitarrow&#xA;* crosshair&#xA;* up&#xA;* sizenwse&#xA;* sizenesw&#xA;* sizewe&#xA;* sizens&#xA;* sizeall&#xA;* no&#xA;* hand&#xA;* blank&#xA;&#xA;Set to anything else to set it to &quot;none&quot;, the default fallback. Do note that a value of &quot;none&quot; does not, as one might assume, result in no cursor being drawn - hiding the cursor requires a value of &quot;blank&quot; instead.</arg>⤶ </args>⤶ </function>⤶ ⤶