You can group shapes or shape attributes that are at the same grouping level within a single shape layer.
Group shapes or shape attributes
Select one or more shapes or shape
attributes, and do one of the following:Choose Layer > Group Shapes.
Press Ctrl+G (Windows) or Command+G (Mac OS).
When you group shapes, the anchor point for the group is placed in the center of the group’s bounding box.
Ungroup shapes or shape attributes