setHeading

HC Graphics Absolute Turtle Motion setHeading
setCylinderPos setH

setHeading angle
setH angle


Turns the turtle to a new absolute heading.

The argument is an angle, the heading in degrees clockwise from the positive Y axis.

See also Heading .

If you are in perspective mode then, the heading in degrees which is positive from the positive X-Axis to the positive Y-Axis rotating about the Z-Axis.

Example:

setheading 45
show heading		;45

Examples:

References:

setCylinderPos setH