setX

HC Graphics Absolute Turtle Motion setX
Home setY

setX xcor


Moves the turtle horizontically along the X axis from its current position to a new absolute X coordinate.

The argument is the new X coordinate.

Example:

setX 100
setY 100
setX 0
setY 0

Examples:

References:

Home setY