Overview
Reverses the direction of travel along a path. The shape stays the same; only which end is the start changes. Use it before operations where path direction mattersโplacing or moving along a path, or determining holes from direction.
Usage tips
- This is the shortest way to make motion along a path play in reverse. You could
also replace
tinpath_samplewith1-t, but this node is more explicit. - It also reverses the order in
path_arrayand the direction frompath_tangent. scope = SubPathis useful for shapes with holes: reverse only the inner loop to control hole detection inpath_mask.
Related nodes
path_sample/path_tangentโ representative nodes affected by directionpath_arrayโ control the direction of placement along a pathpath_maskโ determine holes from directionpath_trimโ note that reversing direction also reverses the trim intervalVersion: 1
Behavior
scope = All- Reverses every subpath.
scope = SubPath- Reverses only the specified subpath and leaves the others unchanged.
- Reorders segments and swaps handle directions, reversing only the direction of travel while preserving the original curve shape.
- Closed subpaths remain closed, with only their direction reversed.
- A nonexistent subpath index returns the input path as-is.
Examples
Reverse the direction of Path Array
[Bezier Path] โ [Path Reverse] โ [Path Array]
Reverse the direction of Path Tangent
[Bezier Path] โ [Path Reverse] โ [Path Tangent]
Reverse only the direction of a hole
[Multi Path] โ [Path Reverse(scope: SubPath, sub_path_index: 1)] โ [Path Mask]
Use this with Path Mask's direction-based hole rule to reverse only the inner loop.
Notes
- The order of the subpaths themselves does not change.
- The upper limit of the
sub_path_indexslider updates automatically to the number of subpaths in the input path. - If a saved index is currently above that limit, the value is preserved and an out-of-range warning is shown. It becomes active again if the subpath count returns.