Skip to content

Path2D

Inherits: Entity2D < CanvasItem < Entity < Object

Contains a Curve2D path for PathFollow2D nodes to follow.

Can have PathFollow2D child nodes moving along the Curve2D. See PathFollow2D for more information on usage.

Note: The path is considered as relative to the moved nodes (children of PathFollow2D). As such, the curve should usually start with a zero vector ((0, 0)).

Type Name Default
Curve2D curve

curve

Curve2D curve

A Curve2D describing the path.