Answers.Body: <p>Paint on a solid layer (in the layer panel). Select the path of the paint object by putting a keyframe on the paint effect's brush in the timeline and copying that keyframe. </p>
  
  <p>Now add a mask by right-clicking on the layer and choosing a 'new mask'. Put a keyframe in the mask on the timeline. Select that keyframe and paste.  </p>
  
  <p>Now you can turn off the eyeball on the paint effect and you'll have it's shape as a unstroked mask on that mask keyframe.  Select that mask path keyframe (you may or may not see the control points) and apply a stroke. </p>
  
  <p>Thicken up the stroke (with 'Brush Size' in the Stroke effect in the timeline) until you like it. Make the stroke white. Now add a Key effect - probably you'll want a 'Luma Key.'  Switch the view from the Layer view to the Composition view. In the timeline, under the Luma Key effect, select 'Key Out Brighter' and the dial in the correct 'Threshold' until you can see the layer below (you've got one, right?)</p>
  
  <p>That's how to turn a brush stroke into a mask.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-02-19T21:42:58.620Z
Answers.LastActivityDate: 2014-02-19T21:42:58.620Z
Answers.UserDisplayName: Craig
Answers.Body: <p>If you use the brush on a layer, it actually applies the "paint" effect to the layer. If you paint on a layer with the brush and expand the properties for effects>paint>brush 1> you'll see that there is a start and end setting that can be animated, allowing you to animate the stroke.
  <img src="https://i.sstatic.net/4yKL2.png" alt="enter image description here"></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-01-18T13:41:10.633Z
Answers.LastActivityDate: 2014-01-18T13:41:10.633Z
Answers.UserDisplayName: stib
Body: <p>Is there a way to mask brush strokes like you can with a pen?</p>
  
  <p>At present, Im using a pen to create a mask then generate a stroke (Effects>Generate>Stroke). </p>
  
  <p>I then use reveal putting a keyframe on the end of the effect to reveal the comp following the pen's stroke if that makes sense.</p>
  
  <p>I want to use the same type of effect by revealing a larger background image, but the stroke's maximum width using the above technique is 50 which is not big enough.</p>
  
  <p>From what i understand, brush strokes are vectors in AE so is the same type of thing possible using a brush to create a mask?</p>
  
  <p>thanks</p>
  
Tags: <after-effects>
Title: AE : Using a drawn brush as a mask
UserDisplayName: sambomartin
ThreadText: # AE : Using a drawn brush as a mask
  
  (Asked by: username_0 on 2013-11-07)
  
  Is there a way to mask brush strokes like you can with a pen?
  
  At present, Im using a pen to create a mask then generate a stroke (Effects>Generate>Stroke).
  
  I then use reveal putting a keyframe on the end of the effect to reveal the comp following the pen's stroke if that makes sense.
  
  I want to use the same type of effect by revealing a larger background image, but the stroke's maximum width using the above technique is 50 which is not big enough.
  
  From what i understand, brush strokes are vectors in AE so is the same type of thing possible using a brush to create a mask?
  
  thanks
  
  **Tags:** after-effects
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2014-02-19. Score: 1
  
  Paint on a solid layer (in the layer panel). Select the path of the paint object by putting a keyframe on the paint effect's brush in the timeline and copying that keyframe.
  
  Now add a mask by right-clicking on the layer and choosing a 'new mask'. Put a keyframe in the mask on the timeline. Select that keyframe and paste.
  
  Now you can turn off the eyeball on the paint effect and you'll have it's shape as a unstroked mask on that mask keyframe. Select that mask path keyframe (you may or may not see the control points) and apply a stroke.
  
  Thicken up the stroke (with 'Brush Size' in the Stroke effect in the timeline) until you like it. Make the stroke white. Now add a Key effect - probably you'll want a 'Luma Key.' Switch the view from the Layer view to the Composition view. In the timeline, under the Luma Key effect, select 'Key Out Brighter' and the dial in the correct 'Threshold' until you can see the layer below (you've got one, right?)
  
  That's how to turn a brush stroke into a mask.
  
  
  ---
  
  ### Answer by username_2 on 2014-01-18. Score: 1
  
  If you use the brush on a layer, it actually applies the "paint" effect to the layer. If you paint on a layer with the brush and expand the properties for effects>paint>brush 1> you'll see that there is a start and end setting that can be animated, allowing you to animate the stroke.
  ![enter image description here](https://i.sstatic.net/4yKL2.png)
  
  
  ---
  
  