void Update() { if (inputHandler.GetOnMoveClick(out Vector3 position)) { movementSystem.MoveTo(position); } animator.SetFloat("speedMovement", movementSystem.DeltaSpeed); }