$opacity
Gets or sets the opacity in the canvas.
Usage
$opacity[canvas;value?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| canvas | String | The name of the canvas to get or set the opacity in. | True |
| value | Percentages | New value. | False |
Example(s)
No examples for this function.

Raw Info
{ "name": "$opacity", "description": "Gets or sets the opacity in the canvas.", "params": [ { "name": "canvas", "description": "The name of the canvas to get or set the opacity in.", "type": "String", "required": true }, { "name": "value", "description": "New value.", "type": "Percentages", "required": false } ], "usage": "$opacity[canvas;value?]", "category": "canvas", "src": "https://github.com/devlordduck/aoi.canvas/tree/v2/src/functions/canvas/opacity.ts", "docs": "https://aoicanvas.vercel.app/functions/opacity"}