player.flashlightActive

Description

Check if flashlight is active for this player.

Syntax

readonly flashlightActive: boolean;

Example Usage

const isActive = player.flashlightActive;

if (!isActive) {
    // I can't see anything captain!
    return;
}

// I can see everything captain!

results matching ""

    No results matching ""