Button Input Script Call

I think I've been scratching my head over this issue for the better half of an hour. Quite simply, I want to create a conditional branch that checks if a directional key is pressed via script call. I don't want to use the "Button _ is pressed down" option in the conditional branch window because it actually doesn't do anything until the button is released. I want the conditional branch to trigger as soon as a directional key is triggered. I've tried these script calls, but keep receiving syntax errors:

Spoiler
951e09aa2bee879dbecc47e6210d3786.png

I tried for example:
Code:
Input.trigger?(:Left)
which returns "syntaxerror Unexpected Token :"

Removing : lists "Left" as an undefined term.

Supposedly pressing F1 during playtest shows you what each key is defined as (Which would be immensely helpful in helping me troubleshoot what I'm doing wrong) but that just opens my windows help and support window, and nothing in RPG Maker and I can't find anything that lists the script references for buttons.

If someone could help me by explaining what I'm doing wrong here and provide an example script call that'd be awesome.
Input.trigger?( :Left)
This doesn't look like MV syntax, if I had to guess, I would say it's probably VX/VX Ace syntax.

For MV you would try these (in your picture on the far right):
Code:
Input.isTriggered('left');
Input.isRepeated('left');
Input.isPressed('left');
Input.isLongPressed('left');
Each of those will do slightly different things, you should test and figure out which works the best for your purpose.
This doesn't look like MV syntax, if I had to guess, I would say it's probably VX/VX Ace syntax.

I'm actually positive it's Ace syntax. I was actually missing the apostrophes, after adding them it works like a charm! Thank you so much for your timely response. 🙂
rmmv button codes?
.... pls? like this im guessing ( Input.isPressed("up") )... but there are others right?
for example this ( Input.isPressed("esc") ), doesnt work. Pointers?
rmmv button codes?
.... pls? like this im guessing ( Input.isPressed("up") )... but there are others right?
for example this ( Input.isPressed("esc") ), doesnt work. Pointers?
I'm having the same issue with this. Seems like some plugin is needed for making the whole keyboard work.
Anyone know if there's other way just using script calls?
Necro-post notice: TouNakamura1412
In addition your query is different from that of the OP, and so counts as hi-jacking.
Please start a new thread, setting out your query as fully as possible.

Moderator note: As the OP's query was resolved, I am closing this.

Original thread: https://forums.rpgmakerweb.com/threads/button-input-script-call.95310/