From Garry's Mod
Jump to: navigation, search
 Panel:SetCursor( )


Sets the appearance of the cursor.


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.
Personal tools