<- CRPL reference <- Text Commands
| Arguments | Result | Notation |
|---|---|---|
| X Coordinate | n1 - |
Sets the anchor point on the unit for SetText to attach to. SetTextX adjusts the horizontal location of the text in relation to the unit, with 0 being the default and centered on the unit. Used in conjunction with SetTextY and SetTextAnchor. Positive values move the text to the right.
# Set text to display offset to the right
"Hello Creeper World" SetText
20 SetTextX
# Warp notation
SetText("Hello Creeper World")
SetTextX(20)