setXY

HC Graphics Absolute Turtle Motion setXY
setZ setXYZ

setXY xcor ycor


moves the turtle to an absolute screen position. The two inputs are numbers, Lists, Arrays or FloatArrays representing the X and Y coordinates.

Examples:

setXY 100 0
setXY 100 100
setXY 0 100
setXY 0 0

x=rSeq -1 1 1000
y=(sin x*x*20*360)*300
x=x*400
setPC 0
setXY x y
setPC 4
setXY x toList lowPassFilter Int16Array y 10

Examples:

References:

setZ setXYZ