Hey @Dave1 ,
In order to flatten your two lines, select these two lines you want to flatten, right-click on the layers (in the canvas or in the layers panel) and select āFlattenā. You can also use the shortcut on Mac: Command E or, on Windows: Ctrl E.
Once flattened, the layers will be combined into a single layer!
Hereās a video to better visualize:
Please also note: itās not possible to āunflattenā a layer. If youāve made a mistake, you can undo the action using the Keyboard shortcut:
MacOS: ā Command Z
Windows: Ctrl Z
Or, restore a previous version of the file in your version history.
Let me know if this clarifies your questions!
Hi - thanks for the reply but itās possible I didnāt phrase my question well. I have the two lines as vectors, but they sit over a mask:
![Screenshot 2024-02-20 at 17.52.28](https://uploads-us-west-2.insided.com/figma-en/attachment/1b97540d976348269e16f3ce5d7d88f7e2ad91e1.png)
The mask is doing the job of cropping the top and bottom of the lines:
![Screenshot 2024-02-20 at 17.55.02](https://uploads-us-west-2.insided.com/figma-en/attachment/78abda92773b1508b24454aaf70a7bb033dc86a2.png)
If I flatten the two lines, and then flatten the mask, I get this:
What I want is to be left with two single vectors that are the shape of the pink lines here:
Maybe Iāve constructed it wrong in the first place? Please help!
Thanks for the detail! Hmm I canāt replicate on my end. I think it may be a bug with the mask (itās odd that you get a white background), but itās hard to tell without the file to investigate.
If you are hesitant to share your file publicly here, Iād suggest you to reach out directly to the support team, they can investigate further: here
Be sure to use your Figma account email, include a link to the file, and share it with support-share@figma.com so they can take a closer look! Thank you 🙂
I donāt think itās a bug - thatās the colour fill I gave the rectangle shape Iām using as a mask to make it obvious when I flatten it thatās all. But I will contact support and see if they can help, thanks Celine!
Perfect! When you get a workaround from the support team, feel also free to share it here if you can. This can also help to the community who may encounter the same issue 🙂