turtle_distance
Return distance from turtle to a point
turtle_distance(
x,
y
)
Return distance from turtle to a point
Syntaxe
var d = turtle_distance(x=100, y=200);
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
x | yes | - | X coordinate | |
y | yes | - | Y coordinate |