Reverse
The elements of an array in the opposite order.
Node id array/reverse
The Reverse node outputs a new array with the elements of array from last
to first.
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| array | Array<T> | — | generic |
Outputs
| Name | Type | Notes |
|---|---|---|
| array | Array<T> | generic |
Behaviour
- The array is unchanged. Other nodes using it still see the original order.
- Drawing order. Reversing an array of objects reverses which ones are drawn on top.