Skip to content
Image & Canvas wordSpacing

$wordSpacing — Sets or returns the spacing in pixels between words of the text drawn next.

Sets or returns the spacing in pixels between words of the text drawn next.

Syntax

$wordSpacing[(canvas);(spacing)]

Parameters

  • canvas (String, optional) — Canvas name (empty: the current canvas)
  • spacing (Number, optional) — Spacing (-200 to 200)

Return Value

  • Number.

Usage

$wordSpacing[canvas;spacing] → result

Example

$sendMessage[$wordSpacing[canvas;spacing]]

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.