Get the current state of an animation. Possible states are
This function does not differentiate between an animation that has reached completion and an animation that has not started.
Parameters: name The original name of the animation id If the animation was triggered with a specific id, this can be used to find the specific instance of a running animation. Returns: table with state and context keys state this is one of gre.STATE_NOT_FOUND, gre.STATE_NOT_RUNNING, gre.STATE_PAUSED, gre.STATE_RUNNING progress this is a number between 0-1 which describes the current progress of the animation.