Skip to content

CanvasGroup ​

A container that applies group transparency and color to its descendants. Maps to Roblox CanvasGroup.

luau
PeanutUI.CanvasGroup {
    groupTransparency = 0.5,
}

Properties ​

In addition to the shared widget properties:

PropertyTypeDescription
groupColorColor3Color multiplied over all descendants.
groupTransparencynumberTransparency applied to the whole group.

Events ​

CanvasGroup uses the shared widget events with no additions.