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 Touch Check - EventTouchCheck.js

Plugin desc : Event Contact Detection Plugin

License : MIT License

Author : Triacontane

Website : https://triacontane.blogspot.com

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

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

File name : EventTouchCheck.js

Help of plugin :

@target MZ
@url https://github.com/triacontane/RPGMakerMV/tree/mz_master/EventTouchCheck.js
@plugindesc Event Contact Detection 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
-----

EventTouchCheck.js

Determines whether the currently running event was triggered by ”touch from an
event.”
It determines whether contact actually occurred from an event, not the value
of a configured trigger.

Execute the following script using a conditional branch, or use the plugin
command to store the result in a switch of your choice.
this.character(0).isStartByTouch();

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.

@command SET_SWITCH
@text Switch Settings
@desc Sets whether the running event was triggered by ”Contact from Event” on the switch.
@arg switchId
@text Switch Number
@desc This is the switch number to turn ON when activated by ”Contact from Event”.
@type switch
@default 1

スポンサードリンク

-MZ plugins

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