# SetPhysicsMaxPolygonPoints

## Description

Sets the maximum number of points that will be generated in future polygon physics shapes, does not affect already generated shapes, may be called multiple times. Only affects shapes generated by the AGK through SetSpriteShape. Must be between 2 and 12. The default setting is 8.

## Definition

SetPhysicsMaxPolygonPoints( points )

void agk::SetPhysicsMaxPolygonPoints( int points )

## Parameters

- points - The maximum number of points allowed in new polygon shapes.