Capture the key Pressed in the Variable

Aug 07, 2023

I want to capture what key has been pressed on the keyboard and then perform a different action based on that key. For example, if they pressed "c" they get a point and continue. If the press "x" they don't get a point and continue. The user could press any of the keys on the keyboard.

2 Replies