turtle_set_origin
Set the canvas origin for turtle coordinates
turtle_set_origin(
x,
y
)
Set the canvas origin for turtle coordinates
Syntaxe
turtle_set_origin(x=400, y=400);
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
x | yes | - | X origin | |
y | yes | - | Y origin |