To make structuring your logic easy, Visual Logic is accessed from the specific part of your Simul8 simulation where it will be applied. For example, if you want to trigger some Visual Logic when Work Items finish being worked on in an Activity then you would use On End Visual Logic, accessed by selecting the Activity then going to Events on the Additional tab.
The following graphic lists the different Visual Logic sections and the order they are executed.

When the Reset button is pressed but BEFORE Simul8's own reset logic is processed.
When the Reset button is pressed. Simul8's reset processing before this Visual Logic is obeyed.
When the simulation reaches the end of the run (results collection period).
When the simulation has finished running all the runs in a trial.
When the simulation is started using the Run button (at any clock time).
When the simulation is stopped using the Pause button (at any clock time).
When the simulation is running and the clock reaches one of the time check intervals.
When the end of warm up time is complete (useful for special results calculations).
This can substantially slow down your simulation as it can be called multiple times, as it is triggered every time the Activity can take in Work Items.
See also Sequence of processing Activity Visual Logic
Executed whenever a user created button is clicked.
Executed whenever your simulation file is opened.
Executed each x simulation time units, where x is the value in the System Dynamics Time Slice. This can be used to continuously change rates of flow in Simul8 Process Objects.