I'm trying to joint all the rectangles that I use to create this enter image description here so I use the union selection but I have this enter image description here Is there a way to union all these rectangles but with keeping there color ?

  • 1
    It sounds to me like you want to make a group. A union operation won't do what you want. Instead, select all the pieces and Group them. Once grouped, you will be able to move the group around as though it was one unified object. Try that.
    – Billy Kerr
    Apr 12, 2023 at 17:54

3 Answers 3


No, there's no way to union all the rectangles and have them maintain their original colors.

When you create a union of multiple vectors, you are combining them into a single vector. This single vector can only have one fill color applied to it. That's why the result is all blue.

If you want to treat these objects as a single object but have them maintain their individual colors, put them in a frame.


Yes, you can. You need to group them ⌘G.

After that, you can change it or download it if you need it. Figma materials - https://help.figma.com/hc/en-us/articles/360039832054-Frames-and-Groups


How about use the "Flatten selection" feature?
It will merge all shapes but keep the colors of all vectors.

flatten selection

New contributor
gjlmotea is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.