duration

Sets the animation duration in milliseconds. Default is 1000ms

NOTE: The changing this parameters during the animation is blocked

Return

the current Animator object

Parameters

ms

animation required duration is milliseconds