How to determine whether the player is holding down the right mouse button

I couldn't find the script.
Check this from conditional branch:
TouchInput.isCancelled()
Check this from conditional branch:
TouchInput.isCancelled()
This script is used to determine a single mouse click. What I want is that as long as I long press the right mouse button, it will work.
Maybe this will work
Maybe this will work
Sadly, no. I've been testing this script all night last night. It can only judge a single click.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-determine-whether-the-player-is-holding-down-the-right-mouse-button.119964/