Skip to content
Image & Canvas lineDash

$lineDash — Sets or returns the dash segments of a canvas, as a JSON list like [5, 3].

Sets or returns the dash segments of a canvas, as a JSON list like [5, 3].

Syntax

$lineDash[(canvas);(segments)]

Parameters

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

Return Value

  • String.

Usage

$lineDash[canvas;segments] → result

Example

$sendMessage[$lineDash[canvas;segments]]

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.