Skip to content
On this page

isCrouching()

Returns true if the player is crouching.

Function Definition

ts
public readonly isCrouching: boolean;

Returns

  • boolean

Documentation

Examples

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

Documentation Created with ❤️ by Stuyk