Forum Discussion

MahtabHussain's avatar
MahtabHussain
Community Member
2 years ago

Capture the key Pressed in the Variable

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.