From bcc9a3a8f0db701e9f9bd35766a438b71ebb6cf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Davy=20H=C3=A9lard?= Date: Fri, 31 Oct 2025 11:51:38 +0100 Subject: [PATCH] [Randomness] Add a section about picking a random string --- docs/gdevelop5/tutorials/randomness/index.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/gdevelop5/tutorials/randomness/index.md b/docs/gdevelop5/tutorials/randomness/index.md index 20c3525456..1028e5fb28 100644 --- a/docs/gdevelop5/tutorials/randomness/index.md +++ b/docs/gdevelop5/tutorials/randomness/index.md @@ -8,6 +8,13 @@ title: Randomness Random numbers can be generated using the [expressions](/gdevelop5/all-features/expressions/): `Random`, `RandomFloat`, `RandomFloatInRange`, `RandomInRange` and `RandomWithStep`. +## Pick a random string + +Random strings can be generated using the [expressions](/gdevelop5/all-features/expressions/): `ArrayTools::RandomNumberInArray` from the [Array tools](/gdevelop5/extensions/array-tools/) extension. + +!!! tip + + When you want to pick each string only once, refer to the [Pick cards from a deck](#pick-cards-from-a-deck) section. ## Create a random object