Hello I was reading in the documentation that events always are checking to see if their parameters meet criteria to execute. HOWEVER, if I recall, you can use custom behaviors/functions to make that lag lessened. I have my GUI set up to show/hide certain layers when buttons on the bottom left are clicked. It is in one big collapse-able event structure in my main level. Would it make sense and be more coding efficient to create a behavior for this clunk of event code?


I would think that you create a behaviour or function if it’s code that is applied in multiple places.

But if you just want it to make your code/events more readable, consider creating the collapsible event structure as an External event, and linking it where the event structure should be. Something like :