Rotate Array
CallableRotateArrayRotates array elements by Offset positions. Positive rotates right, negative rotates left.
Type: Callable (has execution pins)
Category: Fortuna|Array & Collection
Keywords: array & collection
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| Array | TArray<int> | — | Array parameter |
| Offset | int | — | Offset parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| RotatedArray | TArray<int> | Array output |
Example Use Cases
Example 1
Cycle through a selection wheel.
Example 2
Rotate turn order in a multiplayer game.