Sets whether the edit box automatically acquires keyboard input focus. If auto-focus behavior is enabled, the edit box automatically acquires keyboard focus when it is shown and when no other edit box is focused.

Signature:

EditBox:SetAutoFocus(enable)

Arguments:

  • enable - True to enable the edit box to automatically acquire keyboard input focus; false to disable (boolean)