sb.setLayerAttrsGlobal
sb.setLayerAttrsGlobal(layerName, tagObject)
Set properties for a layer globally on all instances of the layer on all screens. The layerName is the name of the layer. The tagObject contains the tags and values for the properties to set.
alpha, hidden, active, x, y, width, height
Parameters
| Parameter | Type | Description |
|---|---|---|
layerName | string | The model full path of the layer to change properties on. |
tagObject | object | An object with tags as the keys and the new values stored as the object's key values. |