# NNS_G2dSetEntityCurrentFrame

## Syntax

      #include <nnsys/g2d/g2d_Entity.h>

      void  NNS_G2dSetEntityCurrentFrame
                                    (
                                         NNSG2dEntity*    pEntity,
                                         u16              frameIndex
                                    );

## Arguments

`pEntity` | [OUT] Entity
`frameIndex` | [IN] Playback animation frame number

## Return Values

None.

## Description

Sets the playback animation frame number of the entity. No action will occur if an invalid index is input.

## See Also

`NNS_G2dSetCellAnimationCurrentFrame`
`NNS_G2dSetMCAnimationCurrentFrame`

## Revision History

2004/05/28 Initial version.

CONFIDENTIAL