# SetSkeleton2DPosition

## Description

Sets the position of the root of the skeleton, the bone positions will be relative to this spot. This can be used to move the skeleton whilst it is animating to make it look like it is walking.

## Definition

SetSkeleton2DPosition( iSkeleton, x, y )

void agk::SetSkeleton2DPosition( UINT iSkeleton, float x, float y )

## Parameters

- iSkeleton - ID of the skeleton to modify
- x - The X position of the skeleton
- y - The Y position of the skeleton