RUAL Documentation

get weighted random

This block is part of the array group and was last modified in core v10.4.28.

get weighted random v10.4.28

Returns a random weighted item from the given array

Pin Pin Type Default
array
Array of objects, should contain weight key.
array
Pin Pin Type Example
object
object
weight
number

Core Releases

v10.4.28 This block was introduced in v10.4.28, click here to see the release notes.
Back to array Return to the main group to view all sub-groups Back to array Return to the group to view all blocks within this group