# GetObjectBoneName

## Description

Returns the name of the bone. If this command is called from tier 2 then you must delete the returned string when you are done with it.

## Definition

string GetObjectBoneName( objID, boneIndex )

char* agk::GetObjectBoneName( UINT objID, UINT boneIndex )

## Parameters

- objID - The ID of the object that contains the bone to check.
- boneIndex - The index of the bone to check.