Image & Canvas
alignRect
$alignRect — Sets or returns the horizontal alignment (left, center, right) of the rectangles and images drawn next: x is their left edge, center or right edge. (alias of $rectAlign)
Sets or returns the horizontal alignment (left, center, right) of the rectangles and images drawn next: x is their left edge, center or right edge. (alias of…
Syntax
$alignRect[(canvas);(align)]
Parameters
- canvas (String, optional) — Canvas name (empty: the current canvas)
- align (String, optional) — left, center or right
Return Value
- String.
Usage
$alignRect[canvas;align] → result
Example
$sendMessage[$alignRect[canvas;align]]
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.