similar to:
if ( event.phase == “ended” ) then
dofunction()
end
however I would like to call this function during a specific frame of a sprites animation (eg. frame 16). I think I found what I need to do at:
https://docs.coronalabs.com/api/type/SpriteObject/frame.html
but im just not sure how to type it out. Any type of example of this would be wonderful -thanks.