moveTo()

Move to an absolute XYZ position without extruding.

Non-extrusion moves will be executed at the default travelSpeed unless manually specified. Use travelSpeed() to set a new default. For retraction and/or z-hopping, see the travel/travelTo set of commands.

Parameters

Name Type Description
x number Target X position in mm.
y number Target Y position in mm.
z number Target Z position in mm.
v number Feedrate in mm/min.
comment? string Optional G-code comment appended to the command.

Examples