state_entry
state_entry()The state_entry event occurs whenever a new state is entered, including at program start, and is always the first event handled.
Examples
Section titled “Examples”Add example usage here showing how to handle the state_entry event.
Add additional notes, caveats, or tips here.
See Also
Section titled “See Also”- Related events and functions can be linked here