Skip to content
Image & Canvas letterSpacing

$letterSpacing — Sets or returns the spacing in pixels between letters of the text drawn next.

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

Syntax

$letterSpacing[(canvas);(spacing)]

Parameters

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

Return Value

  • Number.

Usage

$letterSpacing[canvas;spacing] → result

Example

$sendMessage[$letterSpacing[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.