Skip to main content
Question

Add constraints to shapes inside union


Joakim_Strandell

Is there a way in Figma to add constraints to shapes inside a union. For example I need to create a modal window with an arrow that keeps it position on resize. Or is there an other way to do this?

This topic has been closed for replies.

3 replies

Gleb
  • Power Member
  • 4708 replies
  • March 19, 2021

Yes, you need to wrap the union in a frame, then you will be able to assign constraints to elements inside of it. Constraints can only be set on objects inside frames, and groups/boolean operation objects are ignored, the objects inside of them will stick to the outer frame.


Jonathan_Schmitz

This bug still exists three years later. This is the (unfortunately annoying) workaround. Thank you!

Not sure why Figma’s interface would pretend to let us change constraints that are then ignored anyway 😦


Gleb
  • Power Member
  • 4708 replies
  • November 30, 2024

Not a bug. Groups work this way too, and you can not only change constraints but also colors and other properties, however the group itself doesn’t have any of such properties, it changes the objects inside.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings