CoSpaces Edu supports Typescript to allow you create advanced, interactive experiences! This feature is available for all CoSpaces Edu PRO users.
version 1.1
To add scripts to your Scene, click the Code - button in the toolbar and select script. To run your scripts, press the Play - button in the toolbar (see example).
Scene
.Items in CoSpaces Edu are categorized by different interfaces based on functionality. BaseItem is the base item class which exposes core item functionality. Child interfaces such as the AnimatedItem add additional methods and properties.
Scene
, use Scene.getItemEvent handlers allow you to create triggers for inputs, collisions, and application states. Most handlers are unique; creating a new event handler of the same kind causes the previous one to be disposed.
You can create event handlers for
Generated using TypeDoc