Skip to content

Choose a random value (deprecated)

Choose a random value in a list of strings or numbers.

Authors and contributors to this community extension: UlisesFreitas.

Warning

This is an extension made by a community member — but not reviewed by the GDevelop extension team. As such, we can't guarantee it meets all the quality standards of official extensions. In case of doubt, contact the author to know more about what the extension does or inspect its content before using it.


In an expression, use Choose::RandomString or Choose::RandomNumber and set the values you want to randomize separated by commas.

This extension is deprecated. Use the Array Tools extension to get a random value from an array variable instead.

Tip

Learn how to install new extensions by following a step-by-step guide.

Expressions

Expression Description
Choose::RandomNumber() Choose a number randomly between comma-separated numbers.
Choose::RandomString() Choose randomly between comma-separated strings.

This page is an auto-generated reference page about the Choose a random value (deprecated) extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.