Skip to content
On this page

isAiming()

Returns true if the player is aiming.

Function Definition

ts
public readonly isAiming: boolean;

Returns

  • boolean

Documentation

Examples

ts
if (player.isAiming) {
    console.log(`They are aiming!`);
} else {
    console.log(`They are not aiming!`);
}

Documentation Created with ❤️ by Stuyk