CoppeliaSim supports, next to the sandbox script and add-ons, also embedded scripts: an embedded script is a script that is embedded in a scene (or model), i.e. a script that is part of the scene and that will be saved and loaded together with the rest of the scene (or model). There are different types of embedded scripts that are supported. Each type has specific features and application areas:
[Embedded script types]
Two major types of embedded scripts are supported:
It is useful to remember that some script types are associated with scene objects (attached to scene objects, i.e. associated scripts) such as child scripts and customization scripts. Associated scripts, which form the basis of CoppeliaSim's distributed control architecture, share the convenient property to be automatically duplicated if their associated object is duplicated.