packager
packager copied to clipboard
is there a way to change/show/hide custom cursor at runtime?
i am looking for a way to show and hide the custom cursor at certan times when the project is running.
You can probably do this with JavaScript and the Eval special variable. Something with style.cursor = 'none';
.
For now you can use the unsafe cloud behaviors and the eval var
For hiding the cursor, run scaffolding._canvas.style.cursor = 'none'
For showing the cursor, run scaffolding._canvas.style.cursor = ''
thanks, and is there also a way to change the custom cursor to a different image too somehow?
That's going to be more complicated
I will have to direct you towards https://developer.mozilla.org/en-US/docs/Web/CSS/cursor
Related: https://github.com/TurboWarp/extensions/pull/95
I would now suggest using the "Cursor" extension on extensions.turbowarp.org
It has some cool blocks:

see above