Code: Select all
LoadSprite(1, "myGameHero.gif", {x=0, y=0 ,transparency=#BLACK, width=16, height=16, frames=4})
obj = MoveSprite(1 , 0 , 0 , 100 , 100, {speed=1, animspeed=1, Async = True})
DebugPrint("total frames: "..GetAttribute(#ASYNCDRAW, obj, #ATTRNUMFRAMES))
#ATTRTYPE gives 1
Thank you.