In Illustrator how can I merge this roof vector to the background of the square?

enter image description here

roof and square

  • I'm finding it difficult to understand what you want the end result to be. Could you include an illustration (perhaps done with Photoshop) of what the finished product should look like?
    – JohnB
    Mar 2, 2014 at 12:57
  • I have the feeling that a clipping mask is what you desire. Do you want it to look like this? Mar 2, 2014 at 13:15

1 Answer 1


As @Bart Arondson has pointed out, what you want to use is a clipping mask.

This is how it works:

You need to group your roof-tiles first. Select all of them with the black selection arrow, and use cmd+G or go to Object -> Group.

Then you make sure your square is on top of the roof-tiles group. Pretend this multicoloured pattern is your roof.

Select both roof and box and go to Object -> Clipping mask -> make:

enter image description here

That should give you this result:

enter image description here


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