2D Platformer Kit

How would you set a maximum level if you don’t want the warning/crash?