Make a child UI be behind the parent

Hey! I would like to be able to load an outlined version of an image, but I need the background image to be loaded behind its parent (the true image)

image
image

Currently I’ve tried using ZIndex but it doesn’t effect it, any suggestions?

2 Likes

okcfdff


like this? but as an image?

Yeah, How’s that working, when I try it with mine it doesn’t work

Let me try something real quick. Its pretty simple, if it works for an image.

I need the larger outlined image to be the child

imagebehindimage

workspaceimage

I do not think theres a way to do this, you can have the smaller one appear as the child, but not the other way.

2 Likes

use global zindex 30 chaaaa rs

2 Likes

You’ll need to set ZIndexBehavior to Enum.ZIndexBehavior.Global.

Note that this removes niceties provided to you by the engine, like computing ZIndex how you’d expect it to be from the Instance hierarchy. You’ll have to do that yourself now.

See ZIndexBehavior.

21 Likes