1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-02-21 08:02:24 +01:00
dotSCAD/docs/lib3x-choose.md
2021-02-24 14:33:55 +08:00

16 lines
237 B
Markdown

# choose
Choose an element from the given list randomly.
**Since:** 2.5
## Parameters
- `choices` : The list to choose from.
- `seed` : Random seed value.
## Examples
use <util/choose.scad>;
echo(choose([1, 2, 3, 4]));