# SetSpritePhysicsDelete

## Description

Turns off physics for this sprite and deletes all associated physics settings for this sprite. You can use this to change the mode or shape of a sprite but doing so regularly can affect the performance of the application.

## Definition

SetSpritePhysicsDelete( iSpriteIndex )

void agk::SetSpritePhysicsDelete( UINT iSpriteIndex )

## Parameters

- iSpriteIndex - The ID of the sprite to modify.