<- CRPL reference <- Text Commands
Arguments | Result | Notation |
---|---|---|
Alignment | s1 – |
Sets the text alignment within the text box.
Valid string arguments are “Left”
, “Center”
, and “Right”
. Unrecognized strings or numbers are treated as Center.
The Alignment refers to the alignment within the text box. It doesn't change the position of the text box, and will thus be of no effect without multiple lines of text.
# Display text right-aligned, so that "World" will be directly below "Creeper", centered on the CRPLCore. "Hello Creeper World" SetText "Right" SetTextAlignment