Thanks to all answers! Trevor.Dennis is closest to what I need: literally a layer mask to each single layer. I still have to implement each layer mask manually, but it is way more comfortable with actions via keyboard shortcut than clicking the mask button every time. On top it turned out I would also need to click 'Select all' before adding the mask... My goal is to export all layers with generator assets as .png32, preserving canvas position and canvas size. Without layer mask, generator assets crop each layer to its content size, even including parts that are bigger than the canvas! This stick-to-canvas-size trick does not work with a single group mask. Each layer needs to have a mask for it's own. What I have done now is, I've created two actions. One for existing layers, containing 'select all (strg a)' and 'add layer mask'. And one for new layers containing 'new layer' 'select all' and 'add layer mask'. Works very well! ('Select all' helps to crop the parts outside the canvas.) Nevertheless there is use for group masks, too: if a layer includes effects that flow out of the canvas size, you need to pack the layer into a masked group and export the group instead of the layer. @Toughmedia: sorry, your solution might work... just I'm not capable at all of doing this 😕
... View more