Library globals

Function globals . gui . setCursor

View source

Set mouse cursor coordinates and shape (number or name), and return
current shape (number).

Example:  var cursor = gui.setCursor();
gui.setCursor(nil, nil, "wait");

Parameters

x
optional

y
optional

cursor
optional