CanvasGroup
Object Hierarchy:
Description:
public class CanvasGroup : CanvasItemSimple, CanvasItem
CanvasGroup represents a group of items.
Groups can be nested to any depth, to create a hierarchy of items. Items are ordered within each group, with later items being displayed above earlier items.
CanvasGroup is a subclass of CanvasItemSimple and so inherits all of the style properties such as "stroke-color", "fill-color" and "line-width". Setting a style property on a CanvasGroup will affect all children of the CanvasGroup (unless the children override the property setting).
CanvasGroup implements the CanvasItem interface, so you can use the CanvasItem functions such as raise and rotate, and the properties such as "visibility" and "pointer-events".
If the width and height properties are set to positive values then the group is clipped to the given size.
To create a CanvasGroup use CanvasGroup.
To get or set the properties of an existing CanvasGroup, use @get and @set.