# FixObjectToBone

## Description

Similar to FixObjectToObject except the parent will be a bone in the other object.

## Definition

FixObjectToBone( objID, toObjID, toBoneIndex )

void agk::FixObjectToBone( UINT objID, UINT toObjID, UINT toBoneIndex )

## Parameters

- objID - The ID of the object to fix.
- toObjID - The ID of the object to fix it to.
- toBoneIndex - The index of the bone to fix it to.