Documentation

The Masks

We will now explain other options that will help us when using layers.

Let's start with the Masks. Using them is very handy when handling the layers. It enables you to draw, on the layer of your choice, the opaque pixels of another layer in exactly the same place. In this way it is possible, for example, to modify the « texture » of a drawing without changing its shape (see below).

How to proceed :
* First of all, create two layers in the timeline, then draw the little red man shown above in one of them (whatever the drawing tool).
* Then enable the Mask (it is the fifth option on the right of the New button) for this layer by clicking on the little grey button below it.



The Mask is activated when the icons becomes :



* Hide the layer with the little red man, then create a layer above. Now, any drawing will then be limited to the opaque areas of the layer containing the little red man.

For example, drawing a filled rectangle with color gradient and use of a paper on the screen will display image 1, drawing with drawing tools, gradients, papers and specific modes will obtain the results 2 and 3 (see below).



It is possible to flip the mask and only draw on the transparent areas of the layer containing the initial little man (examples 4 and 5 below).



To do this, proceed as described above and click on the same button ( ) before using a drawing tool. The Mask is inverted when the icon becomes .



It is possible to work with several masks répartis on several layers : in that case, masks will add up.



By clicking on the Mask icon in the Timeline ( ), you will open the contextual menu below :



It is possible to work with several masks divided into different layers: in this case, the masks are added up.

When a pixel is partially opaque, it may only be partially modified when using a mask. For example, a pixel with 80% opacity can only be painted with maximum 80% opacity when the mask mode is used (if the mask is inverted, it may only be painted with maximum 20% opacity). Finally, you should understand that, when pressing the button while using a mask, only the part of the drawing corresponding to the mask will be erased.

If you see this icon active in the main panel, it means a mask (or a selection) is active. Don't forget to disable that button or disable the mask if you want continue to draw, without using a mask.



You can also use Mask On / Off in the sub-menu.