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

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

MZ plugins

Event Startup Touch - EventStartupTouch.js

Plugin desc : Touch event triggering plugin

License : MIT License

Author : Triacontane

Website : https://triacontane.blogspot.com

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

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

File name : EventStartupTouch.js

Help of plugin :

@target MZ
@url https://github.com/triacontane/RPGMakerMV/tree/mz_master/EventStartupTouch.js
@plugindesc Touch event triggering 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
-----

EventStartupTouch.js

Triggers an event with a mouse click or touch.
While the currently active page is triggered, you can turn on any switch to
branch the process. When the event ends, the switch will automatically return
to OFF.

When a touch event is triggered, the default touch movement is forcibly
disabled.

This plugin requires the base plugin ”PluginCommonBase.js.”
”PluginCommonBase.js” is located in the following folder under the RPG Maker
MZ installation folder:
dlc/BasicResources/plugins/official

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

@param InvalidSwitchId
@text Disable switch
@desc If the specified switch is ON, touch activation will be disabled.
@type switch
@default 0

@param TouchTriggerTypes
@text Touch trigger type
@desc This is the trigger type for touch activation. Multiple triggers can be specified. Depending on how you specify them, they may interfere with touch movement or the menu screen.
@type select[]
@default []
@option 左クリック
@value isTriggered
@option 右クリック
@value isCancelled
@option 左長押し
@value isLongPressed
@option 重ね合わせ
@value isHovered
@option 左リリース
@value isReleased

@param StartupSwitchId
@text Start-up trigger switch
@desc This switch turns ON when an event is started by touching it. It automatically turns OFF when the event ends.
@type switch
@default 0

@param ImageClick
@text Click on the image to launch
@desc The event trigger will be determined by the image itself, not the event square.
@type boolean
@default false

@param ValidTriggers
@text Enabled Triggers
@desc The trigger that enables touch activation.
@type select[]
@default [”0”,”1”,”2”]
@option 決定ボタン[0]
@value 0
@option プレイヤーから接触[1]
@value 1
@option イベントから接触[2]
@value 2
@option 自動実行[3]
@value 3
@option 並列処理[4]
@value 4

スポンサードリンク

-MZ plugins

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