Execution order: Difference between revisions
-u ndefined- (talk | contribs)   (Create page. Mostly a rewrite and a merge of an existing article from wiki.)  | 
			
(No difference) 
 | 
Revision as of 12:21, 7 June 2024
The execution order is the sequential order in which scripts run. It is determined by the following rules:
- A script with their  Before port not plugged in will be executed each frame.
- A few built-in scripts will need to have it plugged to run, such as Play Sound or Win.
 
 - Sorted individually under their originating block, with built-in scripts always the bottom-left block, script executes in priority:
- Y-axis, from up to down.
 - X-axis, from left to right.
 - Z-axis, from top to bottom.
 - If on a script block, the scripts inside it.
 
 - Upon their execution, certain scripts will execute their wires according to their usage, e.g. If.
 - A script with their After port plugged in will execute the script connecting to it. Comparisons to a flowchart can be drawn.
 
Common problems
On Play
- TBA
 
Create Object
- TBA