alt.isGameFocused

Returns if the GTA:V client is currently focused or not.

Returns a boolean. (true / false)

Declaration

isGameFocused(): boolean

Usage

alt.isGameFocused();

Real World Example

const result = alt.isGameFocused();
alt.log(result);

These examples assume you have imported alt from alt-client.

results matching ""

    No results matching ""