Skip to main content

move()

Moves the cursor to the origin.

Returns: Geometry

Signatures

move(): Geometry

Moves the cursor to the origin.


move(to: Point2DLike): Geometry

Moves the cursor to the given point.

ParameterTypeDescription
toPoint2DLikeThe target point

move(dx: NumberParam, dy: NumberParam): Geometry

Moves the cursor by an offset from its current position. Like hMove and vMove, the scalar form is relative — pass a point, move([x, y]), to move to an absolute position instead.

ParameterTypeDescription
dxNumberParamHorizontal offset
dyNumberParamVertical offset