# SetSkeleton2DVisible

## Description

Sets whether the specified skeleton is visible or not. AGK will automatically hide the skeleton when it moves off screen to improve performance, so you only need to do this if you want to hide it whilst it is on screen. When hidden a skeleton will still animate.

## Definition

SetSkeleton2DVisible( iSkeleton, mode )

void agk::SetSkeleton2DVisible( UINT iSkeleton, int mode )

## Parameters

- iSkeleton - ID of the skeleton to modify
- mode - 1 to make it visible, 0 to hide it