Convert rectangle to frame

Heyall!

Wanted to suggest convert rectangle to frame option.

Usercase:
When doing quick sketches, I tend not to care about framing groups, or adding autolayout - simply to keep a good creative flow :sparkles: Once we’ve landed design and choosing which sketches to use going forward, I usually clean up the existing sketches, adding autolayout, name frames and so on. Instead of deleting the rectangle (background), I would like to convert rectangle to frame, where the connected elements simply were added in the frame.

image

Let me know if anyone have a smooth work-around :smiley:

You won’t be able to convert automatically, but here’s how to do it quickly:

  1. select the rectangle and everything that should be inside
  2. create a frame (Ctrl+Alt+G)
  3. select the rectangle and copy its styles (Ctrl+Alt+C)
  4. select the frame and paste the styles Ctrl+Alt+V
  5. delete the rectangle

Thanks @Ampier! This is exactly the workflow I would love to avoid.