I don't want the second level to be unlocked before completing the first one

there should be a lock on second level before completing first one but level 2 automatically get dislocked after completing level1

There is an example of that in the GDevelop itself.

ok … soory ,I will check

I checked that example yesterday…
in that he/she has created many scenes but I want everything in one scene
Is there any way

It isn’t possible. Every scene is for different levels and one is for menu.

1 Like

Use the globale variables.