# GetSpriteShapeNumVertices

## Description

Returns the number of vertices in the specified shape. This only applies to polygon and chain shapes. Shape IDs start at 1 for the first shape up to and including the value returned by GetSpriteNumShapes.

## Definition

integer GetSpriteShapeNumVertices( iSpriteIndex, shapeID )

int agk::GetSpriteShapeNumVertices( UINT iSpriteIndex, int shapeID )

## Parameters

- iSpriteIndex - The ID of the sprite to check
- shapeID - The ID of the shape to check