ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. guiBlur

Function

guiBlur

ClientInterface (GUI)Identical to MTA:SA

Removes focus from a control, so typing no longer goes to it.

Syntax

bool guiBlur(element guiElement)

Arguments

guiElementelement
The control.

Returns

true on success.

Example

addEventHandler("onClientGUIAccepted", chatEdit, function()
    guiBlur(chatEdit)
end, false)

See also