unity getkey true when keyup code example Example: input.getkeyup if (Input.GetKeyUp(KeyCode.Space)) { Debug.Log("Space button is released"); }