Model.hm_getcurrentframe#

Model.hm_getcurrentframe()#

Returns the current animation frame.

Returns:

Example#

Get the current animation frame#
import hm
import hm.entities as ent

model = hm.Model()

_, result = model.hm_getcurrentframe()

anim_frame = result.currentFrame

print("Current Animation Frame:", anim_frame)