public void MakeCommand(int commandIndex, Vector2 mousePositionInput) { if (Vector2.Distance(mousePositionInput, transform.position) < 2) { minionManager.FollowPlayer(); } else { minionManager.MoveHere(commandIndex, mousePositionInput); } }