What are you trying to do? For the QWERTY keyboard the 2 and the @ key are the same Key. KeyHit detects the key not the Character. You might be able to use KeyDown For key.LeftShift and KeyHit for Key.key2 in the same comparison for the @ key. Not sure haven’t tried it myself. I am not sure but I believe there is a getChar instruction that would be able to do that for you instead but Depends on what you are doing.