Image & Canvas
lineTo
$lineTo — Adds a straight line to the current path.
Adds a straight line to the current path.
Syntax
$lineTo[(canvas);x;y]
Parameters
- canvas (String, optional) — Canvas name (empty: the current canvas)
- x (Number, required) — X
- y (Number, required) — Y
Return Value
- None.
Usage
$lineTo[canvas;x;y] → result
Example
$sendMessage[$lineTo[canvas;x;y]]
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.