Mouse Click on Event

In general, we have to move the main character close to the event, then click the event that can be triggered.
How to use mouse click to trigger an event (no matter where the player is)?
how do you know when to move the player and when to activate the event?
how do you know when to move the player and when to activate the event?
Because I wana set the event as a hidden button, it does not need player to touch the event.
The rest of the events work as usual.
Tor Damien's Mouse System Ex plugin offers this feature, among other things:
https://forums.rpgmakerweb.com/index.php?threads/mouse-system-ex.46511/

As an alternative, you could use pictures instead and try Yanfly's Picture Common Events plugin:
http://yanfly.moe/2016/04/01/yep-88-picture-common-events/

Original thread: https://forums.rpgmakerweb.com/threads/mouse-click-on-event.103641/