Garry's Mod Wiki

Panel:SetCursor

Panel:SetCursor( string cursor )

Description

Sets the appearance of the cursor.

Arguments

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


Wikis

?

Render Time: 23ms

DB GetPage 5
Generate Html 2
SaveChanges 9
Render Body 0
Render Sidebar 6