M_Skeleton:IsBoneParent(boneID, parentID)

Version added: before 9.5
Test whether one bone is an ancestor of another

Arguments:

Name Type Description Default Ver
boneID int32 Bone identifier < 9.5
parentID int32 Bone identifier < 9.5

Return value:

bool true if parentID is an ancestor of boneID, otherwise false
Test whether one bone is an ancestor of another.
Returns true even if both arguments are equal.

Search results

Usage of 'IsBoneParent' is found in the following scripts:

<< Back to M_Skeleton