Skip to content
On this page

isInRagdoll()

Returns true if the player is rolling around on the ground in a ragdoll position.

Function Definition

ts
public readonly isInRagdoll: boolean;

Returns

  • boolean

Documentation

Examples

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

Documentation Created with ❤️ by Stuyk