Navigation Bar AgentSheets Education R&D Support About Us Manuals Tutorial Movies FAQ Books Classes

Switch to Worksheet Action

Definition: The Switch to Worksheet action switches to a worksheet specified by the worksheet file name parameter and changes the focus of the simulation to that. If the simulation was running in the original worksheet, it will start running in the new one as well.

This is a useful command when building games with multiple levels.

Parameters: worksheet file name
Example: When the Frog gets to the target (the grotto) in the classic Frogger arcade game, the player moves to the next level, by switching to the worksheet called "Level 2".

reference manual | ©2010 AgentSheets, Inc. | contact us