setxy block


Description:

Sets the x and y coordinates (a.k.a. position) of an agent

Arguments:

xcor (number): The new x-coordinate of the agent.

ycor (number): The new y-coordinate of the agent.

Examples: