SetSpriteCategoryBit - AGK Help

SetSpriteCategoryBit

Description

Assigns or removes a sprite from a particlar category. There are 16 categories that a sprite can belong to, of which a sprite can belong to any number at once. This command is similar to SetSpriteCategoryBits except this command sets one category at a time whilst that command sets them all at once using a bit mask.

Definition

SetSpriteCategoryBit( iSpriteIndex, category, flag )

Parameters