Keycode for Tidle (~)?

I’m probably just not seeing it, but I cannot find the tidle key keycode(~) on Unity - Scripting API: KeyCode.

Can anyone enlighten me? :slight_smile:

Thanks.

I’m not positive, but I think what you want is the totally cryptic “Alt Gr” key:

Gr is short for Grave, and the un-shifted tilde (`) is called a grave.

The AltGr key is a modifier key - it often replaces the right alt key on international keyboards. There doesn’t seem to be a KeyCode for the tilde specifically, but it’s one of those keys that gets shifted around a lot depending on your keyboard.

For instance, my home computer has it mapped on the ` (BackQuote) key, whereas my work computer has it on the # (Hash) key.

Ah, ok. Thanks for clarifying dawvee.

I think the answer is to never use tilde because it’s a dead key on many international keyboards (due to the grave being used for character composition, I guess?).

FWIW:

http://www.gamedev.net/community/forums/topic.asp?topic_id=162259

KeyCode.BackQuote?

Thanks for the replies guy.

I believe this is the correct answer

2 Likes

If only you had been here 3 years ago to confirm that!

2 Likes