User Tools

Site Tools


crpl:docs:settexty

<- 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)
crpl/docs/settexty.txt · Last modified: 2021/02/05 11:44 by Karsten75