onInputFocus
This event is triggered when an input element within the UI gains or loses focus.
Parameters
Name | Type | Description |
---|---|---|
status | boolean | The focus status of the input element (true if focused) |
Example
engine.events.on('onInputFocus', status => {
console.log('Input focus status:', status);
});
Available on: Client