OnClientBrowserInputFocusChanged

From Multi Theft Auto: Wiki
Revision as of 15:25, 1 June 2025 by Fernando187 (talk | contribs) (ex)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This event is triggered when the input focus inside a browser has changed.

Parameters

bool gainedFocus
  • gainedFocus: true if an input field has been focused, false if it has lost focus.

Source

The browser element.

Example

addEventHandler("onClientBrowserInputFocusChanged", root, function(gainedFocus)
  iprint(source, "gainedFocus:", gainedFocus)
end)

See Also