Skip to main content

onInputFocus

This event is triggered when an input element within the UI gains or loses focus.

Parameters

NameTypeDescription
statusbooleanThe focus status of the input element (true if focused)

Example

engine.events.on('onInputFocus', status => {
console.log('Input focus status:', status);
});

Available on: Client