It is defining the event "on called function"
That confuses me too the first time, but you just do
On called function "next level"
>Go to layout blablabla
To declare the function next level basically, when "next level" is called, the actions under "on called function" will be executed
Game design is all about decomposing the core of your game so it becomes simple instructions.