I can create a new object with
const objectInstance = runtime.objects.Key.createInstance("Keyboard", 200, 150);
But how can I create the hierarchy?
Is there such a thing as this?
const objectInstance = runtime.objects.Key.createInstance("Keyboard", 200, 150, {hierarchy: true});
Develop games in your browser. Powerful, performant & highly capable.
in the latest beta update (r236) a parameter to runtime.createInstance() has been added for that
adnan97m thank you