# SetEditBoxUseAlternateInput

## Description

Sets whether the edit box will use an alternate text input method if the edit box would be hidden by a virtual keyboard. This only applies to mobile platforms like iOS and Android and the alternate input method is usually a smaller edit box placed just above the keyboard. The edit box will still update in real time as if it is being typed into directly, but since it is covered by the keyboard the user will not see it. By default this is turned on. If you wish you can turn it off and move the edit box into view when GetEditBoxHasFocus returns 1, be sure to move it back again when GetEditBoxHasFocus returns 0.

## Definition

SetEditBoxUseAlternateInput( index, mode )

void agk::SetEditBoxUseAlternateInput( UINT index, int mode )

## Parameters

- index - The ID to modify.
- mode - 1 to use alternate input (default), 0 to use the normal input.