# Set Alignment Of Text Tag

Grammar — Set the alignment of textTag to horizontal horizontally and vertical vertically
FlagsNative | Action

Sets the horizontal and vertical position of a text tag over its origin. This also sets the text alignment within the tag.

# Arguments

Returns — void

native void TextTagSetAlignment(
	int inTag,
	int inHoriz,
	int inVert,
);

Category: Text Tag / Formatting

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L2880
TextTagSetAlignment(TextTagLastCreated(), c_alignCenter, c_alignTop)
// L2886
TextTagSetAlignment(TextTagLastCreated(), c_alignCenter, c_alignTop)
// L30081
TextTagSetAlignment(TextTagLastCreated(), c_alignLeft, c_alignBottom)
// L2880
TextTagSetAlignment(TextTagLastCreated(), c_alignCenter, c_alignTop)
// L2886
TextTagSetAlignment(TextTagLastCreated(), c_alignCenter, c_alignTop)
// L30081
TextTagSetAlignment(TextTagLastCreated(), c_alignLeft, c_alignBottom)

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L1557
TextTagSetAlignment(libCamp_gv__CB_Current_ChatBubble[lp_playerIndex], c_alignCenter, c_alignBottom)
// L11894
TextTagSetAlignment(lv_p_TextTag, c_alignCenter, c_alignBottom)