2

I need to cut my layers to be only inside the artboard, these 2 images will show you what I mean:

enter image description here

To be like:

enter image description here

So the layer that has some of it outside the screen got cut off. What is the way or plugin to do this?

4
  • 2
    I don't personally know a way or plugin, but I'm wondering why you would even need to do that?
    – Summer
    Commented Nov 16, 2016 at 10:21
  • Agree with Jane. If it's outside the artboard, it's essentially cropped already. Why delete and lost that part of the image, when you can keep it?
    – Manly
    Commented Nov 16, 2016 at 15:04
  • 2
    Totally disagree. Imagine a large svg file like a detailed map. That'd be a TON of shapes adding to file size and slowing down Sketch.
    – Jay
    Commented Mar 31, 2017 at 17:39
  • @Jay There is really no reason for a (competent) software to process things outside the bounding window so it does not really impact anything other than file operations and memory.
    – joojaa
    Commented Dec 14, 2018 at 15:00

1 Answer 1

1

You can't cut the layer but you can mask the layer to get minimize the size of the layer and get control while designing.

Follow these steps to mask your layer using invisible / transparent rectangle shape.

Step 1:

You have your layer (Combined shape in the given example) which is partially outside the artboard.

enter image description here

Step 2:

Create a transparent rectangle shape in behind your layer. Remove fill and border to make it transparent. Make sure the rectangle is inside your artboard and covers the part of the layer inside artboard.

enter image description here

Step 3:

Select transparent rectangle and your layer. Select Layer -> Mask -> Use as Mask to mask the layer with rectangle shape.

enter image description here

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.