Is there any simple way to listen for pressed keys

So I just basically don’t want to write tons of code for each type of key like WASD, I wanna see if theres a way that I can easily see if a certain key is held down with ability to hold down multiple keys like WA

I saw this post a while ago involving pressing multiple keys, maybe this could be of some help

2 Likes

to make a key logger you can index the key code to a table with a boolean state of on or off. From there you can index through that table to see what keys are being held down