private void UpdateInput()
    {
        Vector2 leftStickInput = input.GetStick(CharacterInput.Stick.Left);

        if (leftStickInput.y < -0.5f)
        {
            ActivateReadyDoor();
        }

        if (leftStickInput.x == 0 || IsDead() || nextAttackState != AttackState.None)
        {
            movementMagnitude = 0;
        }
        else
        {
            transform.localScale = new Vector3(leftStickInput.x > 0 ? 1 : -1, 1, 1);
            saboteurButton.transform.localScale = new Vector3(leftStickInput.x > 0 ? 32 : -32, 32, 1);
            movementMagnitude = leftStickInput.x;
        }

        isHoldingDown = leftStickInput.y > 0.5f;

        if (isGrounded)
        {
            allowDoubleJump = true;
        }
    }