CanvasGroup missing properties

I noticed that it misses the “ClipsDescendant” property. It is listed in the documentation and is scriptable, but it’s gone from the properties. It used to work/show maybe couple weeks ago?

This is the only one I noticed, but theres likely more missing?

3 Likes

The property is redundant. You can probably still set it via scripts, but it doesn’t serve a purpose for canvas groups since they always clip their descendants.

1 Like

Then something is wrong with it here:


image

1 Like

That’s interesting, and shouldn’t happen. Do you have a repo?

CanvasGroup does not support ClipsDescendants, though it does inherit it automatically from GuiObject. Setting it would have no effect.

If you think you’re experiencing a bug related to clipping and CanvasGroups we’d be happy to take a look, but we’d need a repro.

I see and yeah! Creating that repo place I saw that it happens when the ScreenGui zindex behaviour is set to Global instead of relative.

Here’s the repo file, I included 2 ScreenGuis, the one above zindex is set to global, the one below set to relative:
CanvasGroupBug.rbxl (63.9 KB)

I believe this is intentional behavior, see the important notes section of https://create.roblox.com/docs/reference/engine/classes/CanvasGroup

So with Zindex global it is rendered as if it was a frame with clip descendants enabled.

1 Like

As commented above, we don’t think this is an issue.