# SetTextSize

## Description

Sets the size of the text object, default is 4. This value represents the height of each character in world units. The width of each character is dependant on the font and is calculated to match the given size.

## Definition

SetTextSize( iTextIndex, fSize )

void agk::SetTextSize( UINT iTextIndex, float fSize )

## Parameters

- iTextIndex - The ID of the text object to update.
- fSize - The new size of the text.