Sets the time for the animation to progress from start to finish

Signature:

Animation:SetDuration(duration)

Arguments:

  • duration - Time for the animation to progress from start to finish (in seconds) (number)