MZ Help Getting a Right-click system to work?

Hi, all! I am currently trying to find a way to trigger an event when the player presses right click on the mouse, when it's hovering over said event.

I've tried using (TouchInput.isCancelled()) in a conditional branch's script call, but it's not triggering at all. (I tested it in a blank project, too.)

I did find this one plugin that does what I'm looking for, but it seems to disable the right-click from opening the menu as well, and I don't want that.

Can anyone maybe edit the plugin so that the right-click only triggered on tagged events? (Via notebox, comment, something like that?) while keeping the menu's trigger active any other time?


Edit: Never mind! I found a solution! 😅

Original thread: https://forums.rpgmakerweb.com/threads/help-getting-a-right-click-system-to-work.176913/