LAYER
Root / Documentation / [.]
Created:
Set properties on a layer.
* Syntax
```sbsyntax
LAYER id% {, compositeMode% {, multiplyColor% }}
```
|* Input | Description |
| `id%` | The ID of the layer to configure. |
| `compositeMode%` | The layer's composition mode.\
{|* Value | Description |
| 0 | None (overwrite) |
| 1 | Simple (alpha) |
| 2 | Add |
| 3 | Multiply |
| 4 | Screen |}
Optional. If not specified, 0.|
| `multiplyColor%` | The layer's multiply color. The multiply color filter is applied to the layer before composition.\
Optional. If not specified, `#C_WHITE`. |
* Examples
```sb4
'change the properties of layer 0
'simple composition, red multiply color
LAYER 0,1,#C_RED
```
```sb4
'reset the properties of layer 0
LAYER 0
```
* Notes
** No Getter
There is no getter/`OUT` version of this function, meaning these properties cannot be checked after they are set.
No posts yet (will you be the first?)