Child Z-Order of vertical boxes

Hello again, I have an animation that zooms a child element, when it zooms it overlaps others. The problem is when it’s hovered over and ‘zoomed’, it’s z-order makes it look manky.

How the helicopter do I set it’s Z order to be on top? The docs say its only possible with overlays and AddChild().
That’s so silly!

Any help would be appreciated, thanks :slight_smile:

You cannot. The last added child draws on top. The canvas panel slots can be zOrdered at will, though. You’d just need to script stacked buttons. Or place them manually.


You could shift the unselected elements up / down away from the (rather striking looking!) button but that may not be the desired behaviour you’re after. Just a thought.

Thanks :slight_smile: I thought that was the case, I managed to make it elegant enough by not adding so zoom… albeit not what I wanted but the desired effect is good. I like the automatic layout of vertical boxes etc so I’d rather avoid canvas panels and overlays…I did think of writing my own vertical boxes but that seemed redundant. Thanks for posting