Scene management features

Actions and conditions to manipulate the scenes during the game.

Actions

Stop and go back to previous scene
Stop this scene and go back to the previous paused one.
To pause a scene, use the “Pause and start a new scene” action.

Pause and start a new scene
Pause this scene and start the specified one.
Later, you can use the “Stop and go back to previous scene” action to go back to this scene.

Quit the game
Quit the game

Change the scene
Stop this scene and start the specified one instead.

Change background color
Change the background color of the scene.

Conditions

At the beginning of the scene
Is true only when scene just begins.

Compare two numbers
Compare the two numbers.

Scene just resumed
The scene has just resumed after being paused.

Compare two strings
Compare the two strings.

Expressions

Expression Description
CurrentSceneName() Name of the current scene
Random(number) Random integer
number Maximum value
RandomFloat(number) Random float
number Maximum value
RandomFloatInRange(number, number) Random float in range
number Minimum value
number Maximum value
RandomInRange(number, number) Random integer in range
number Minimum value
number Maximum value
RandomWithStep(number, number, number) Random value in steps
number Minimum value
number Maximum value
number Step

This page is an auto-generated reference page about the Scene management features feature of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop features here.