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

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

MZ plugins

MNKR Move Event Point MZ - MNKR_MoveEventPointMZ.js

Plugin desc : Adds a plugin command that moves the specified event to the specified coordinates on the map.

License : MIT License

Author : munokura

Website : http://x.com/munokura

Desc page : https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_MoveEventPointMZ.js

File name : MNKR_MoveEventPointMZ.js

Help of plugin :

@target MZ
@url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_MoveEventPointMZ.js
@plugindesc Adds a plugin command that moves the specified event to the specified coordinates on the map.
@author munokura
@license MIT License

@help
Adds a plugin command that moves a specified event to a specified coordinate
on the map.
Similar to the player’s touch movement, it moves while avoiding obstacles up
to the coordinate.

Event ID - -1: Player / 0: Executing Event / 1 or higher: Event ID on the map
X Coordinate - X coordinate within the map
Y Coordinate - Y coordinate within the map
Wait - Wait until completion/No

# Notes
This plugin uses the same mechanism used by RPG Maker’s player to move to
specified coordinates by touch.
Specifying a location far off-screen is likely to cause problems.
It is recommended to specify closer coordinates.

# Terms of Use
MIT License.
http://opensource.org/licenses/mit-license.php
Modifications and redistribution are permitted without permission from the
author, and there are no restrictions on use (commercial, 18+, etc.).

# Acknowledgments
Thank you to jp_asty for your guidance.

@command moveEvewtPoint
@text Moves the event to the specified coordinates.
@desc Moves the event to the specified coordinates in the map.
@arg eventId
@text Event ID to move
@desc Event ID - -1: Player / 0: Execution event / 1 or more: Event ID on the map
@default 0
@arg mapX
@text Destination X coordinate
@desc Destination X coordinate on the map
@default 0
@arg mapY
@text Destination Y coordinate
@desc Destination Y coordinate on the map
@default 0
@arg waitOn
@text Wait until completion
@desc Wait until the movement is complete.
@type boolean
@on Wait
@off No wait
@default false

スポンサードリンク

-MZ plugins

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