Hello, I would like to create an object through scripting, can someone give me an example?
Develop games in your browser. Powerful, performant & highly capable.
Use the createInstance method, e.g. runtime.objects.Sprite.createInstance(0, 100, 100).
runtime.objects.Sprite.createInstance(0, 100, 100)