Original Source
- Original title: Hide mouse cursor when idle
- Original author: Nolonar
- Original date: March 17, 2018
- Source thread: https://forums.rpgmakerweb.com/threads/hide-mouse-cursor-when-idle.92805/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)
Summary
Hello everyone. Today I'd like to release a plugin I just made. I call it: N_HideIdleMouse This plugin is available on GitHub: https://github.com/Nolonar/RM_Plugins-HideIdleMouse Direct download link for the latest version available: https://github.com/Nolonar/RM_Plugins-HideIdleMouse/releases/latest/download/N_HideIdleMouse.js It simply hides the mouse cursor when idle.
Archived First Post
This plugin is available on GitHub: https://github.com/Nolonar/RM_Plugins-HideIdleMouse
Direct download link for the latest version available: https://github.com/Nolonar/RM_Plugins-HideIdleMouse/releases/latest/download/N_HideIdleMouse.js
It simply hides the mouse cursor when idle.
It also hides the mouse cursor immediately when the game starts, because otherwise the player would need to move the mouse at least once before the auto-hiding kicks in.
Note: The mouse cursor is only hidden when it is inside the game window. This is not a bug.
How to use
Just enable the plugin, that's it.
You can customize how long the mouse can remain idle before it is hidden. By default, the timeout is 3000 milliseconds (3 seconds).
If you don't care about the mouse at all and simply wish to keep it hidden at all times, you can just use the following one-liner.
document.body.style.cursor = 'none';
.txt to .js, and you have your plugin.Terms of use
The one-liner (above) has absolutely no Terms of Use. Do with it whatever you want.
For the full plugin, the MIT license applies. In short, as long as you preserve the copyright and license notice, you're free to do whatever you want with it
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadLicense / Terms Note
Terms of use The one-liner (above) has absolutely no Terms of Use. Do with it whatever you want. For the full plugin, the MIT license applies. In short, as long as you preserve the copyright and license notice, you're free to do whatever you want with it
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...