Sorting Tasks

Is there a way to sort out events, so you control when pieces of code get executed? You might want task2b to run before task 1a.

I have another question that has me curious. What is the igloop I see under taskMgr? It’s a time consuming event.

I can see a sort column for the tasks in task manager.

See if setPriority or setSort help.

setSort() is the right method, or pass sort = x to the taskMgr.add() call.

igloop is the task that performs the graphics rendering.