setvariable-at
xcor ycor value
Parameters:
xcor |
Number |
number of steps in the x-direction from the caller |
ycor |
Number |
number of steps in the y-direction from the caller |
value |
Anything |
value to set the variable to |
Description:
Sets the value of the variable
of the turtle xcor units away in the x direction and ycor units away in the y direction to the value value
Examples:
setheight-at 1 1 5
sets the height of the turtle one unit away in the x direction and one unit away in the y direction to 5
Notes:
variables must first be declared in a turtles-own, breeds-own, patches-own or globals
Related Commands:
set
setvariable
setvariable-of
setvariable-towards
variable-at