From the course: Learning Cavalry

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Clip Shapes with masks

Clip Shapes with masks - Cavalry Tutorial

From the course: Learning Cavalry

Clip Shapes with masks

- [Narrator] To finish this element, we're going to add some additional movement to make it look like the shapes are traveling horizontally. To achieve this, we will extend the width of the grid by increasing the amount of shapes in the horizontal axis and then use a mask to clip the result to a rectangular shape. Finally, we will animate the shape position property to move the shapes through the masked area. So I'm going to select the duplicator, and then we will make some changes to the count. So we'll increase this to 29 and the Y to 17. And then I want to compress this down a lot. So I'm going to change the width to 215 and the height to 45. That's looking a lot better now and we'll come into the mask tab and right-click, and then we'll add a basic shape. By default, we get a polygon shape. If we find the mask, which is this basic shape here, we can press return or enter and rename this to mask. And then we'll…

Contents