SetCursor

void SetCursor(number resNumber, bool visible[,point coords])

SetCursor sets the cursor to the one specified by the resNumber. If the visible flag is TRUE, it makes the cursor visible, otherwise, it hides the cursor. If the coords are specified, it will move the cursor to the specified point on the screen.

Example
/* sets the cursor to CURSOR.997, makes it visible, and positions it at 160,100 */
SetCursor(997 TRUE 160 100)

DoStuff()

/* sets the cursor to CURSOR.999, maing it visible only if a mouse is available */
SetCursor(999 HaveMouse())

See Also: HaveMouse