setCursor(style: Cursor): void
Set cursor style.since
// 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");