# SetTextScissor

## Description

Clips the text to the specified world coordinates when drawn. Use the values 0,0,0,0 to turn off the text scissor

## Definition

SetTextScissor( iTextIndex, x, y, x2, y2 )

void agk::SetTextScissor( UINT iTextIndex, float x, float y, float x2, float y2 )

## Parameters

- iTextIndex - The ID of the text to modify.
- x - The x coordinate of the top left corner of the box to use as a clip boundary.
- y - The y coordinate of the top left corner of the box to use as a clip boundary.
- x2 - The x coordinate of the bottom right corner of the box to use as a clip boundary.
- y2 - The y coordinate of the bottom right corner of the box to use as a clip boundary.