SetSpritePhysicsAllowSleep
Description
Sets whether the sprite is allowed to sleep.
Definition
SetSpritePhysicsAllowSleep ( iSpriteIndex, sleep )
void agk::SetSpritePhysicsAllowSleep ( UINT iSpriteIndex, int sleep )
Parameters
- iSpriteIndex - The ID of the sprite to modify.
- sleep - 0 to disable sleeping, 1 to allow it.