next button go to other external layout

Before proceeding, please use the forum search feature at the top of the page to check if your question has already been answered.

How do I…

I am doing a project about elearning app using gdev. The project should be when you click next button in a scene and go to other external layout. For example, click next button go to external layout “two”, click again and go to external layout “three” until external layout “ten”.

What is the expected result

The project should be when you click next button in a scene and go to other external layout. For example, click next button go to external layout “two”, click again and go to external layout “three” until external layout “ten”…

What is the actual result

when I click the next button just delete the external layout “one”

Related screenshots

Project files (optional)

Insert a minimal game showing your issue in a .zip or .rar.

You may be better off making layoutstep a global variable, setting it and then restarting the current scene (user the action “Change to scene CurrentSceneName()”. Put those last two events as sub-events under the “At the beginning of the scene” event. And add a subevent with them for layoutstep = 1.