Smart Layer Mask

📝 Description:
* This function acts both as adding and removing layer masks, one hotkey + modifier executes 4 functions: reveal selection, hide selection, apply and remove layer mask, works with several layers selected;
💼 Photoshop analogue:
* Using 4 Photoshop commads, repeating for each selected layer;
👍 Usage:
* To quickly add/remove layer mask;
* Best used when assigned to a hotkey (mine is Ctrl/Cmd+Shift+R and Alt as a modifier)

If layer doesn’t have a layer mask and there’s a selection:

  • Using SLM will create a layer mask, hiding unselected area, revealing the selection;
../_images/lmask1.gif
  • Using SLM with modifier key will create a layer mask, hiding selected area;
../_images/lmask3.gif

If layer has a layer mask:

  • Using SLM will apply the layer mask;
../_images/lmask2.gif
  • Using SLM with modifier key will remove the layer mask;
../_images/lmask4.gif

Options

../_images/setting4.png
  • Use a modifier: key modifier for additional functionality mentioned above;
  • Shortcut: shows a shortcut assigned to the function;