# SetSkeleton2DBoneMode

## Description

Sets whether the bone can animate or if it remains stationary. You can still modify the bone position, angle, and scale manually.

## Definition

SetSkeleton2DBoneMode( iSkeleton, bone, mode )

void agk::SetSkeleton2DBoneMode( UINT iSkeleton, int bone, int mode )

## Parameters

- iSkeleton - ID of the skeleton to modify
- bone - ID of the bone to modify
- mode - 1 to let the bone animate, 0 to stop it