Get current animation number

Hi,
My “enemy” objects are created using random animation numbers with unique hitboxes. Depending on what animation number an object has I want to generate different actions, for example different points.

How do I get the current animation number of an object? I am a newb so please explain in detail how to get the value. Thanks in advance.

Farre

You can use the search bar when entering a formula if you don’t know the command:

Thanks, I found it by doing the following:

Action: Value of scene variable (creating a variable that holds the current animation number for an object)

Value: objectname.Animation()