Event - change plan position of items (z-index)

Hello,

It could be pretty cool, for me (and my last project), if i was able to bring items on first (or last) plan on a click event.
Maybe it’s already possible? With js?

Btw, your software is really great ! I saved so many time using it… Thank you guys!!

Hi Carlos,

Yes, you can use Execute JavaScript action:
prez.object('name_of_object').node.style.zIndex = 1; // 1: move to top, -1: move to bottom

Regards

Thx! i will save this in answer in case i need it again :slight_smile: