New Animation method to fetch current value

New functionality for Animation, fetch the current animation value. If
for instance the animation is movement this can be used to detect
direction.