Hello,
Apologies if this has been asked before. I wanted to know if there’s a way to modify the browser events extension so that it returns which key was pressed / released instead of having to manually check for every single key.
Thank you.
Hello,
Apologies if this has been asked before. I wanted to know if there’s a way to modify the browser events extension so that it returns which key was pressed / released instead of having to manually check for every single key.
Thank you.
Apologies for the lateness, but there is the
Custom Keybinds Extension AKA MORE BUTTONS! extension which distinguishes between them!
Thank you for reaching out! Please, no apologies needed. I have used the extension before. It’s very nice but I don’t see any blocks that tells me which button the user pressed sadly.
Ah, yeah, I was misremembering it! ![]()
It seems there’s no built-in way to do this, but you can use a function like this:
Which basically checks all of the keys and returns the first one that is true (If you expect your player will press multiple, though, you could make it return an array instead).