# SetSpriteVisible

## Description

Sets whether this sprite is visible during drawing. It may still update its animation and physics, which are controlled by SetSpriteActive.

## Definition

SetSpriteVisible ( iSpriteIndex, bVisible )

void agk::SetSpriteVisible ( UINT iSpriteIndex, int bVisible )

## Parameters

- iSpriteIndex - The ID of the sprite to modify.
- bVisible - The visibility of this sprite, 1 for visible, 0 for not visible.