Copy link to clipboard
Copied
I'm trying to create a dashed line around the Mocha mask that I have made for property lines. I have generated a stroke to the mask but it will only allow "dots" instead of "dashes". How do I achieve dashes and offset for something like this?
Copy link to clipboard
Copied
Step 1: Copy the Mask Path
Step 2: Copy the Mask Path
Step 3: Create a Shape Layer
Step 4: Paste the Mask Path onto the Shape Layer
Step 5: Paste and Convert the Mask Path
Step 6: Convert to Dashed Stroke
Step 7: Adjust as Needed
That's it! You've now successfully copied a mask path from one layer and pasted it onto a shape layer as a dashed stroke.
Copy link to clipboard
Copied
Fantastic! Many thanks!!!
Copy link to clipboard
Copied
I use an expression to copy the mask. Just converting a Mocha mask to a shape-layer path takes about one minute. Make sure the layer is named and visible in Mocha AE, select Visible Paths, create AE Masks, set the mask to none, start a new shape layer with the pen tool, click once, type "p" in the search timeline field to reveal the mask, with the Links and Columns visible, drag the pickwhip from Shape Layer 1/Contents/Shape 1/Path 1/Path to the Mask on the Mocha layer.
Then it is just a matter of adjusting the Stroke/Dash and Gap settings in the shape layer.
The spline in Mocha should not have any keyframes, or the dashes will move around as the mask path changes size.
If your tracking includes more than translation (scale, rotation, perspective). You can set the surface to the whole frame on the first frame of the comp, then apply. Corner Pin Tracking to the shape layer.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now