setCursor(style: Cursor): void
Set cursor style.
param
style- The cursor style.
// Change between cursor styles // Reset cursor to default at start of every frame onUpdate(() => setCursor("default")); button.onHover((c) => { // change cursor to pointer when hovering over button setCursor("pointer") }) // Hide the only cursor at start (useful for fakeMouse) setCursor("none");
since
v2000.0