IsAnimationOver

From MaratisWiki
Jump to: navigation, search

isAnimationOver(object)

Do something when the current animation has finished playing. Note that it also apply to looped animations.

  • object : object to operate on
   object = getObject("object")
   function onSceneUpdate()
           if isAnimationOver(object) then
               --do something 
           end   
   end
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox