Skip to content

Commit 327dc78

Browse files
authored
[Randomness] Add a section about picking a random string (#378)
1 parent d632249 commit 327dc78

File tree

1 file changed

+7
-0
lines changed
  • docs/gdevelop5/tutorials/randomness

1 file changed

+7
-0
lines changed

docs/gdevelop5/tutorials/randomness/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ title: Randomness
88

99
Random numbers can be generated using the [expressions](/gdevelop5/all-features/expressions/): `Random`, `RandomFloat`, `RandomFloatInRange`, `RandomInRange` and `RandomWithStep`.
1010

11+
## Pick a random string
12+
13+
Random strings can be generated using the [expressions](/gdevelop5/all-features/expressions/): `ArrayTools::RandomNumberInArray` from the [Array tools](/gdevelop5/extensions/array-tools/) extension.
14+
15+
!!! tip
16+
17+
When you want to pick each string only once, refer to the [Pick cards from a deck](#pick-cards-from-a-deck) section.
1118

1219
## Create a random object
1320

0 commit comments

Comments
 (0)