Thanks, @Shaun Gorneau ! What is the proper way to make this next "to " wait until function animation ends? Now, If I don't put any delay parameter to ".to" they start together. I don't want to put manual delay as duration of the animation in that function can change in the future.