Sets the animation duration in milliseconds. Default is 1000ms
NOTE: The changing this parameters during the animation is blocked
the current Animator object
animation required duration is milliseconds