Group Demo — A Group is a specialized shape that can contain other shapes. It inherits from Shape, which in turn extends our Transformable base. This means a Group has the same properties as any shape—x, y, rotation, scaleX, scaleY, opacity, and visible—and applying transformations (rotation, scaling, etc.) to the group will affect all child shapes as a single unit.

This approach lets you manage and animate collections of shapes as a single entity, similar to how grouping worked in Flash.