# SetObjectAnimationSpeed

## Description

Sets the animation speed for the given object as a multiple of the default time, i.e. 1.0 would use the times from the animation keyframes, 2.0 would play them twice as fast, 0.5 twice as slow, and so on. You can also use negative values to play the animation in reverse, or 0 to pause it.

## Definition

SetObjectAnimationSpeed( objID, speed )

void agk::SetObjectAnimationSpeed( UINT objID, float speed )

## Parameters

- objID - The ID of the object to modify.
- speed - The new animation speed to use for this object, default 1.0