this.SelectedByUser = false;
on "LeftClick"
{
if (this.SelectedByUser) this.SelectedByUser = false; //Deselect the dog, if selected
else this.SelectedByUser = true; //Select the Dog, if not selected
}
method MoveDogsToPosition(GoX, GoY)
{
if (this.
SelectedByUser) this.
GoTo(GoX, GoY
);
}