[Solved] "'Bracket' Key is Pressed" Doesn't Exist?

It seems as if testing if a player is pressing the “[” or the “]” key on their computer is impossible, I don’t see the option in the “Key pressed” event, but when I do “If any key pressed” and then print the last key pressed, it says “LBracket” or “RBracket,” so obviously it exists.
Is there a reason this wouldn’t exist?
Or is there something I’m missing?

2 Likes

Definitely feels like an evaluation error with the list. Moving this over to bug reports

As a workaround, if you click the “Use an expression”, you can still type “LBracket” (with quotes) and it’ll work

image

Confirmed that this works as I’d expect.

2 Likes

Thank you.
I assume it just appeared red but still worked anyways?
I didn’t actually check, so that’s nice.

Yes, it doesn’t evaluate as valid in the event sheet, but works fine in the preview.

1 Like

Thanks for pointing that out @Silver-Streak @ResinTheFuriousMage.
This will be fixed in the next version.