unity detect key up code example Example: input.getkeyup if (Input.GetKeyUp(KeyCode.Space)) { Debug.Log("Space button is released"); }