Hello,
I noticed the following code in the documentation, which shows how one can access instance variables of a sprite instance.
Is there a way to access built in properties of a sprite object as well or of behaviors added -- such as postion.x and position.y.
If yes, how is it done?
thank you,
Dan
runtime.sortZOrder(runtime.objects.Sprite.instances(),
(a, b) => a.instVars.myZOrder - b.instVars.myZOrder);