Skip to content
Image & Canvas closePath

$closePath — Closes the current subpath with a straight line to its start.

Closes the current subpath with a straight line to its start.

Syntax

$closePath[(canvas)]

Parameters

  • canvas (String, optional) — Canvas name (empty: the current canvas)

Return Value

  • None.

Usage

$closePath[canvas] → result

Example

$sendMessage[$closePath[canvas]]

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.