Login

Fancade Wiki

Updated Random.md (markdown)

... ...
@@ -12,10 +12,16 @@ Outputs:
12 12
- Random: The randomly selected [[number]].
13 13
14 14
## Notes
15
- The Min input is included while the Max input is excluded, meaning: I put 0 into the Min input and put 5 into the Max input, the block will still select 0 or any number lower than 5 but not 5.
15
- The Min input is included while the Max input is *excluded*, meaning: if the min and max inputs are 0 and 5 respectively, it may generate a number within 0 to 5, possibly 0, but never 5.
16 16
- The random block will not stop selecting numbers unless you wire a [[Play Sensor]] block.
17 17
- Note that the output would be in decimal, to avoid this use [[floor]], [[ceiling]], or [[round]] operators.
18 18
19 19
## Examples
20 20
21
[[/uploads/Screenshot_2023_0327_105551.png]]
... ...
\ No newline at end of file
0
Either generate -1 or 1:
1
2
[[/uploads/Screenshot_2020-06-23-23-24-42-333_com.martinmagni.fancade.png]]
3
4
-----
5
6
[[/uploads/Screenshot_2023_0327_105551.png]]
Fancade Wiki