i’m having a little “logic” problem.
I have some objects on the stage, and i want to bring them forward when touched with mouse. So i need a way to resort the spread of transforms etc in a way that the last thing i’ve touched is in front (like in a multitouch stack).
I’ve attached a simple patch i’ve made to try, but i’m sure i’m doing it wrong.
In my patch i can put an object in front of the others, but i cannot remember the previously selected object, so i cannot have a layes order that counts all what i’ve done before.
if someone has some hint, it’s very welcome
i’ve attached a patch as example
spread and layers ordering (13.1 kB)