<- CRPL reference <- Text Commands

SetTextY

ArgumentsResultNotation
Y Coordinate n1 -

Description

Sets the anchor point on the unit for SetText to attach to. SetTextY 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 SetTextX and SetTextAnchor. Positive values move the text to the top.

Examples

# Set text to display offset below the unit
"Hello Creeper World" SetText
-10 SetTextY

# Warp notation
SetText("Hello Creeper World")
SetTextY(-10)