Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Let's say I have a parent Rectangle layer, and 3 children Circle layers.

Image 1

What properties do I need to set in order to have the circles be forced within the boundaries of the parent so that when I want to position them inside the Rectangle, they don't leak outside the parent?

enter image description here

In case it matters, I'm using Photoshop CS6 :)

share|improve this question
up vote 0 down vote accepted

Select the rectangle object by ctrl/cmd clicking in the layer window thumbnail.

Go to Layer>Add Layer Mask>Reveal selection

enter image description here

share|improve this answer
Unfortunately when I cmd click the Rectangle shape the Layer Mask option is disabled. Any suggestions? – smaili Apr 2 '14 at 4:17
Is it creating a selection around the rectangle? essentially thats your end goal, a selection thats the size of the rectangle, then add layer mask. – Ctrl Alt Design Apr 2 '14 at 4:19
Yes, see here: – smaili Apr 2 '14 at 4:27
ahhh gotcha, you can group the 3 circles, CTRL/CMD-G, select the group with the rectangle selection and the option should be there. – Ctrl Alt Design Apr 2 '14 at 4:28
Works :) Cheers! – smaili Apr 2 '14 at 4:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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