private void LateUpdate()
    {
        Vector3 inputPosition = GetInputWASD();

        if (inputPosition != _moveComponent.Position)
        {
            _moveComponent.ClearTargetPositionsOnly();
            _moveComponent.AddNewEndpos(inputPosition);
            _gotInputLastFrame = true;
        }
        else if (_gotInputLastFrame)
        {
            _moveComponent.ClearPath();
            _gotInputLastFrame = false;
        }
    }