Skip to content
Image & Canvas imageBaseline

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

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

Syntax

$imageBaseline[(canvas);(baseline)]

Parameters

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

Return Value

  • String.

Usage

$imageBaseline[canvas;baseline] → result

Example

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