ZIndex doesn't work on any handle adornments

What the title says. I think it’s always been this way

1 Like

If you want to use ZIndex on HandleAdornments, you have to set AlwaysOnTop to true. ZIndex has no effect on ordering when AlwaysOnTop is false.

Conceptually, you’d get a weird kind of ordering if you could have ZIndexing without AlwaysOnTop, because 3D objects would obscure the adornments, but adornments can somehow also obscure the adornments in front of them. If you really need functionality like this that turning on AlwaysOnTop does not solve properly, please file a feature request with your use cases attached.

I do agree that the wiki about AlwaysOnTop/ZIndex can be improved and that there is a weird relationship between AlwaysOnTop and ZIndex (i.e. another quirk is that it always draws behind 3d geometry when ZIndex = -1, even if AlwaysOnTop = true…), but again a feature request is a better place for this.

It doesnt work with AlwaysOnTop either

image

In this file:
ImageHandleAdornment_ZIndex.rbxl (13.1 KB)

Could you be more specific if this is not the way you meant that “it doesn’t work”?

1 Like

I see

I’m having trouble reproducing it now, I guess it was a different issue

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.