In the block code editor menu, there is an event called "On Start Of Layout". Is there a way to get this event via script so i can load a world?
Develop games in your browser. Powerful, performant & highly capable.
I am not sure these will work in 'block' code which is generally triggered by ticks, but take a look:
construct.net/en/make-games/manuals/construct-3/scripting/scripting-reference/iruntime
There is:
beforelayoutstart
afterlayoutstart
For: addEventListener
construct.net/en/make-games/manuals/construct-3/scripting/scripting-reference/layout-interfaces/ilayout
This was also just covered in this thread.