# SetEditBoxActive

## Description

Toggles the active status of this edit box, when active is set to 1 the edit box can be clicked on, gain focus and be changed, when set to 0 the edit box cannot be changed nor gain focus.

## Definition

SetEditBoxActive( index, active )

void agk::SetEditBoxActive( UINT index, int active )

## Parameters

- index - The ID to modify.
- active - The new state of the edit box, 1 for active, 0 for inactive.