I am trying to connect a function to the changing of a layout. Can you guys help me?
something along the lines of this:
runtime.addEventListener("onstartoflayout", () => setup(50));
There is no event named "onstartoflayout" in scripting. See the runtime events "beforeprojectstart" and "afterprojectstart", or the layout events "beforelayoutstart" and "afterlayoutstart".
I did not know the name of the event, what you just gave me was what i needed. Thank you!
Develop games in your browser. Powerful, performant & highly capable.
Is it effective for all layout?