Inherit Fill Properties of a Mask

Layers clipped to shape should take the properties of that shape. i.e if the fill property of the shape is a gradient and the opacity is 0% at the end, the children of that mask should fade at the end. ( Like how it works on Figma)

Currently, the width and height property is what the layers take.