When the JS can be used to control all the behavior of the object
Develop games in your browser. Powerful, performant & highly capable.
I want to use all the functions that can be used in the event table in js.
For example, reverse mirrored objects. And have control over all actions, such as tween fade moveto path.
All the currently supported scripting APIs are documented in the scripting reference. For everything else, see the example on integrating events and script.