Skip to content
Image & Canvas rectBaseline

$rectBaseline — Sets or returns the vertical alignment (top, center, bottom) of the rectangles and images drawn next.

Sets or returns the vertical alignment (top, center, bottom) of the rectangles and images drawn next.

Syntax

$rectBaseline[(canvas);(baseline)]

Parameters

  • canvas (String, optional) — Canvas name (empty: the current canvas)
  • baseline (String, optional) — top, center or bottom

Return Value

  • String.

Usage

$rectBaseline[canvas;baseline] → result

Example

$sendMessage[$rectBaseline[canvas;baseline]]

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.