Skip to content

$save

Saves the entire state of the canvas by pushing the current state onto a stack.

Usage

$save[canvas]

Parameters

FieldTypeDescriptionRequired
canvasStringName of the canvas.True

Example(s)

No examples for this function.

meow

Raw Info

{
"name": "$save",
"description": "Saves the entire state of the canvas by pushing the current state onto a stack.",
"params": [
{
"name": "canvas",
"description": "Name of the canvas.",
"type": "String",
"required": true
}
],
"usage": "$save[canvas]",
"category": "canvas",
"src": "https://github.com/devlordduck/aoi.canvas/tree/v2/src/functions/canvas/save.ts",
"docs": "https://aoicanvas.vercel.app/functions/save"
}