Sets the order of the control point in a path animation. When the parent path animation plays, the control points with a lower number are traversed before those with a higher number. Control points must have distinct order indices, and these will be assigned automatically as new points are created.

Signature:

ControlPoint:SetOrder(order)

Arguments:

  • order - Position at which the control point will be traversed relative to others in the same path animation (between 0 and 100) (number)