Hi everyone!
So, small question, can you do what I’ve said in the title? I’ve tried looking at the documentation for it, it’s a little vague. I’ve tried to set it doing:
ScreenGui.ZIndexBehaviour.EnumType = Enum.ZIndexBehavior.Global
ScreenGui.ZIndexBehaviour.Value = 0
ScreenGui.ZIndexBehaviour.Name = "Global"
None of these worked. You may ask, why is this necessary for me? Well, I am currently making a UI that consists of a viewport and 2 CanvasGroups
.
What happens when the ScreenGui is set to Global:
The viewport works fine but the GroupTransparency
property of both CanvasGroups do not work, because it’s overwritten by ScreenGui
.
What happens when the ScreenGui is set to Sibling:
The viewport becomes glitchy, though the GroupTransparency
of the CanvasGroups
works just fine. What do I do? Thanks