Changed objective code to play animations on changed