variable-towards
angle distance
Parameters:
angle |
Number |
angle from caller |
distance |
Number |
distance from caller |
Description:
Returns the value of the variable
specified at an angle of angle and distance of distance away from the caller
Examples:
happiness-towards 0 1
returns the happiness of the turtle directly in front of and one space beyond the caller
Notes:
variables must first be declared in a turtles-own, breeds-own, patches-own or globals
Related Commands:
setvariable-towards
variable
variable-at
variable-of