Image & Canvas
resizeCanvas
$resizeCanvas — Resizes a canvas; as in ForgeCanvas, the canvas is emptied (transparent).
Resizes a canvas; as in ForgeCanvas, the canvas is emptied (transparent).
Syntax
$resizeCanvas[(canvas);width;height]
Parameters
- canvas (String, optional) — Canvas name (empty: the current canvas)
- width (Number, required) — New width
- height (Number, required) — New height
Return Value
- None.
Usage
$resizeCanvas[canvas;width;height] → result
Example
$sendMessage[$resizeCanvas[canvas;width;height]]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.