# SetTextY

## Description

Updates the Y position of a text object in world coordinates, by default the text is positioned using its top left corner. When using right alignment the text is positioned using its top right corner. When using center alignment the text is positioned using a point halfway along its top edge.

## Definition

SetTextY( iTextIndex, fY )

void agk::SetTextY( UINT iTextIndex, float fY )

## Parameters

- iTextIndex - The ID of the text object to update.
- fY - The new Y position.