Play default animation

I would like to be able to send msg.post("#sprite", “play_animation”), without specifying id, to play the default animation on a sprite.

Can you elaborate more?

Currently if you have a sprite with a default animation that is not looped, the animation will play and then stop. In order to replay it you need to specify the animation id in the play_animation message, I would like to be able to play the animation specified on a sprite without knowing what animation is set as the default. The way to do that now is by having a script property with the animation id, but that is both duplication of work (specifying the animation on both the sprite and the script) and also error prone, since the property in question would be a free text field.