animate method

AnimationPlayer animate(
Object effect,
[Object timing]
)