Plugin to hide/disable mouse cursor

Hi,

I know you can disable a mouse cursor using the following

// Hide Cursor
document.body.style.cursor = 'none';


But I prefer to do everything in the editor, so I would like to have a plugin to manage this from with in the editor.

Therefore code above does not satisfy my needs.
There's absolutely zero functional difference between using a plugin command and an one line script call. So if you want to manipulate from within the editor, use script calls through events.
There's absolutely zero functional difference between using a plugin command and an one line script call. So if you want to manipulate from within the editor, use script calls through events.


But the cursor would still be visible in the game's title screen, it only disappears after I start the game.

Therefore it does not meet my needs.
And what would exactly meet your needs? A plugin you can turn on or off from the plugin manager? That I'm sure you can create yourself as long as you know how to create a text file.
A plugin that gets rid of the cursor completely even on the start screen.
Then just create a plugin file with the one line of code, activate the plugin and you're good to go. Since a JS file is a normal utf-8 formatted text file, it shouldn't be too difficult.
I must be doing something wrong because the JS file I created is doing literally nothing....
What you've done wrong is the header containing plugindesc. It's not commented properly. But you can just delete it all and leave in only the code, I think the plugin file's name is enough description in itself.

Original thread: https://forums.rpgmakerweb.com/threads/plugin-to-hide-disable-mouse-cursor.102084/