Image & Canvas
lineWidth
$lineWidth — Sets or returns the line width of a canvas.
Sets or returns the line width of a canvas.
Syntax
$lineWidth[(canvas);(width)]
Parameters
- canvas (String, optional) — Canvas name (empty: the current canvas)
- width (Number, optional) — Width in pixels
Return Value
- Number.
Usage
$lineWidth[canvas;width] → result
Example
$sendMessage[$lineWidth[canvas;width]]
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.