# NNS_G2dGetAnimSequenceByIdx

## Syntax

      #include <nnsys/g2d/load/g2d_NAN_load.h>

      const NNSG2dAnimSequenceData* NNS_G2dGetAnimSequenceByIdx(
          const NNSG2dAnimBankData*   pAnimBank,
          u16                         idx );

## Arguments

`pAnimBank` | [IN] Animation information bank
`idx` | [IN] Index

## Return Values

The animation sequence information.

## Description

Gets the animation sequence information by the index assignment from the animation information bank. Returns `NULL` when an invalid index is specified.

## See Also

None.

## Revision History

2004/05/28 Initial version.

CONFIDENTIAL