Garry's Mod Wiki


void Panel:SetCursor( string cursor )


Sets the appearance of the cursor.


1 string cursor
The cursor to be set. Can be one of the following:

  • arrow
  • beam
  • hourglass
  • waitarrow
  • crosshair
  • up
  • sizenwse
  • sizenesw
  • sizewe
  • sizens
  • sizeall
  • no
  • hand
  • blank

Set to anything else to set it to "none", the default fallback. Do note that a value of "none" does not, as one might assume, result in no cursor being drawn - hiding the cursor requires a value of "blank" instead.

Page Links

Special Pages



Render Time: 24ms

Session 0
DB GetPage 3
Generate Html 0
SaveChanges 8
Render Body 0
Render Sidebar 10