# GetObjectAnimationName

## Description

Returns the name of the specified animation for the given object. You can find the number of animations for this object with GetObjectNumAnimations. The index should be in the range 1 to numAnimations inclusive.

## Definition

string GetObjectAnimationName( objID, index )

char* agk::GetObjectAnimationName( UINT objID, int index )

## Parameters

- objID - The ID of the object to check.
- index - The index of the animation to check, indices start at 1.