# SetTweenDuration

## Description

Changes a tween's duration after it has been created. If the tween is currently running or is part of a chain that is currently running, then changing its duration may produce unexpected results.

## Definition

SetTweenDuration( tweenID, duration )

void agk::SetTweenDuration( UINT tweenID, float duration )

## Parameters

- tweenID - ID of the tween to change, can be any type of tween
- dureation - The new duration to use in seconds