if (input.getkeyup(keycode.w)) code example Example: input.getkeyup if (Input.GetKeyUp(KeyCode.Space)) { Debug.Log("Space button is released"); }