Image & Canvas
canvasSize
$canvasSize — Returns the size of a canvas, or its width or height.
Returns the size of a canvas, or its width or height.
Syntax
$canvasSize[(canvas);(property)]
Parameters
- canvas (String, optional) — Canvas name (empty: the current canvas)
- property (String, optional) — width or height
Return Value
- String.
Usage
$canvasSize[canvas;property] → result
Example
$sendMessage[$canvasSize[canvas;property]]
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.