object.Animation("Idle").Length() ? (If u know what i mean)

How can i get a valid expression on retrieving a number of sprite images associated on a animation,
Like for example if i have an animation “idle” that contains 8sprite.?

it will be useful for me to set up current animation of an object …

There is a fixed amount of frames. You cannot change them in runtime as far as I know. Just count the frames yourself.

I see., thanks for the respond