# SetTextSpacing

## Description

Sets the spacing between letters. A value of 0 puts no gap between the letter bounding boxes, a positive value increases this gap, a negative value overlaps the letters. If each character is built with some space either side of it in the font image then that is the default amount of spacing and this command will increase or decrease the spacing from that.

## Definition

SetTextSpacing( iTextIndex, fSpacing )

void agk::SetTextSpacing( UINT iTextIndex, float fSpacing )

## Parameters

- iTextIndex - The ID of the text object to update.
- fSpacing - The new spacing to use.