Array node
Array Reverse
Reverse the order of elements in an array. The first element becomes the last, and the last becomes the first. Useful for flipping time series, inverting sort orders, or mirroring visual sequences.
Inputs
| Port | Type |
|---|---|
| ArrayThe list to flip end to end. Cable any array here — numbers, strings, colors, points; a single vector opens up into its components. | any |
Outputs
| Port | Type |
|---|---|
| Result | any |
| Count | int |
How It Works
Array Reverse creates a new array with all elements in the opposite order. The original array is not modified.
Use Cases
- Time series flip: Reverse a recorded buffer so the most recent value appears first for display.
- Visual mirroring: Reverse coordinate arrays to create mirrored particle patterns or symmetric layouts.
- Sort inversion: Reverse an ascending-sorted array to get descending order (or vice versa).
Tips
- Array Sort has a built-in Order parameter for ascending/descending — you don't need Array Reverse after sorting.
- Array Set also has a Reverse toggle that reverses its output directly.
Open Array Reverse in the interactive catalog →
Array Reverse is one of 381 nodes in Grafit Pro.
Free download. Every feature for 7 days, no card. Then €99.99 once — or keep playing your projects as a Player.