layer property

layer property

Gets or sets the layer. The layer attribute indicates the names of the layers to which this node belongs. For example, a value of “foreground glowing” indicates that this node belongs to both the ‘foreground’ layer and the ‘glowing’ layer. The default value is empty, indicating that the node doesn’t belong to any layer. Optional attribute.

Definition:

@property
def layer(self):
    ...
@layer.setter
def layer(self, value):
    ...

See Also