sim.closeScene

Closes current scene, and switches to another open scene. If there is no other open scene, a new scene is then created. Can only be called from an add-on, or from the sanbox script, when called from within CoppeliaSim

Synopsis

int result = sim.closeScene() int result = sim.closeScene()

Return values

  • result: the current scene index.


See also: