An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

Mouse Wheel Extend - MouseWheelExtend.js

Plugin desc : Mouse Wheel Extension Plugin

License : MIT License

Author : Triacontane

Website : https://triacontane.blogspot.com

Desc page : https://github.com/triacontane/RPGMakerMV/tree/mz_master/MouseWheelExtend.js

Download Page : https://raw.githubusercontent.com/munokura/triacontane-MZ-plugins/refs/heads/main/MouseWheelExtend.js

File name : MouseWheelExtend.js

Help of plugin :

@target MZ
@url https://github.com/triacontane/RPGMakerMV/tree/mz_master/MouseWheelExtend.js
@plugindesc Mouse Wheel Extension Plugin
@author Triacontane
@license MIT License

@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/triacontane-MZ-plugins ).
Original plugin by Triacontane.
Please check the latest official version at:
https://triacontane.blogspot.com
-----

MouseWheelExtend.js

Extends the rarely used mouse wheel functionality.
You can enable or disable it individually.
Please note that this feature is useless in environments without a mouse wheel
(smartphones, some PCs).

Some mice may not have left/right scrolling or may not function properly.

- Send Message
Rotate the mouse wheel toward you to send a message. It cannot be reverted.

- Move Cursor
Move the mouse wheel to move the window cursor.

- Click to Confirm/Cancel
Gives mouse wheel clicks the same functionality as the Confirm and Cancel
buttons.
If both are specified, the Confirm button takes priority.

- Click to Switch/Toggle
Clicking the mouse wheel turns on any switch. Only valid on the map screen.
Can be used to trigger common events, etc.
When toggled, the switch will toggle on/off with each click.

- Scroll as D-pad
Gives mouse wheel scrolling the same functionality as the D-pad.

Scrolling Variables
Set the value of any variable by scrolling the mouse wheel.
Down: 2, Left: 4, Right: 6, Up: 8. Valid only on the map screen.

This plugin does not have any plugin commands.

Terms of Use:
You may modify and redistribute it without permission from the author, and
there are no restrictions on its use (commercial, R18+, etc.).
This plugin is now yours.

@param scrollMessage
@text Scroll to send a message
@desc Roll the mouse wheel forward to send a message. There is no undo.
@type boolean
@default true

@param scrollCursor
@text Scroll to move the cursor
@desc Move the mouse wheel to move the cursor in the window.
@type boolean
@default true

@param scrollDirection
@text Scroll and use directional buttons
@desc Makes scrolling the mouse wheel function the same as the directional buttons.
@type boolean
@default false

@param scrollVariable
@text Assign variables by scrolling
@desc Scrolling the mouse wheel sets the value of any variable.
@type variable
@default 0

@param click
@text Click operation
@desc Select the action to be performed when you click the mouse wheel.
@type select
@default ok
@option なし
@option decision
@value ok
@option cancel
@value cancel
@option Switch (Switch with specified number ON)
@value switch
@option Toggle (switch the specified number)
@value toggle

@param clickSwitch
@text Click Switch Number
@desc This is the target switch number when the click operation is specified as a switch or toggle.
@type switch
@default 0

@param sensitivityY
@text Sensitivity Y
@desc This is the sensitivity of the vertical rotation of the mouse wheel. Normally, this setting is OK.
@default 4

@param sensitivityX
@text Sensitivity X
@desc This is the sensitivity of the horizontal rotation of the mouse wheel. Normally, this setting is OK.
@default 4

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.