beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
ShuffleArray
Ops.Array.ShuffleArray
Collections:random  
Namespace: Ops.Array

There is a newer version of this op!


This version will not receive any updates. It is recommended to use a newer version.

Current version: Ops.Array.ShuffleArray_v2

Randomizes the order of elements inside an array

summary (oneliner)

Before shuffling the elements, a copy of the array is made, so the original stays untouched.

doc

issues

youtube id

collections

related ops

Inputs

Execute (Trigger)

Shuffles the array


Shuffle array (Trigger)

array (Array)

The input array to shuffle


Outputs

Next (Trigger)

Triggers after the op is done shuffling


shuffled array (Array)

The shuffled array


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
ShuffleArray3 example:


Credits


Changelog


Works now when an array is connected and will only shuffle on a trigger.
2019-04-24 - andro

code cleanup - removed unused variables
2019-04-24 - andro

Added extra trigger for shuffle which nows as expected.
2019-06-24 - andro

Examples using ShuffleArray

Public Patches using ShuffleArray