beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
ArrayRandomSelection
Ops.Array.ArrayRandomSelection
Extract a definable amount of values from an array

summary (oneliner)

Setting elements to 5 on an array with 60 values will extract random 5 values from the array.
Seed changes which numbers are extracted.

doc

issues

youtube id

collections

related ops

Inputs

Array (Array)

The array in to extract random values from


Elements (integer / Number)

Amount of elements to extract


Seed (Number)

Random number seed. 0 is always different on a reload. Set to a number to keep a fixed seed.


Outputs

Result (Array)

Array Out


Array length (Number)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
ArrayRandomSelection example:


Credits


Examples using ArrayRandomSelection

Public Patches using ArrayRandomSelection