Is there a way to have multiple bindings?
such as
NumberAnimation { properties:”x,y” x:50, y:100, duration:500}
NumberAnimation { properties:”x,y” to: {x:50,y:25}, duration: 200}
the to function works on both properties as long as they are the same, specifying the to property as an object didn’t work unfortunately.
I am looking for this specifically so I can dynamically specify animations without having to create/destroy animation objects constantly or store animations inline (as the properties are being read from a json and this current limitation forces me to only make sequential animations rather than “parallel” by having multiple properties adjusted on the same item)
I am looking for something like
ParallelAnimation:
Anims = [] //array of json animations
However the examples I’ve seen is basically creating a series of NumberAnimations to achieve the effect I’m looking for aand then removing them which seems like it could be memory expensive