类型 函数 返回值 无 修订版 发行版本 2024.3703 关键词 动画、补间、内插、取消 另请参阅 animation.cancel() 补间 animation.*
取消 补间 对象。
object:cancel()
local object1 = display.newRect( 50, 50, 100, 100 ) -- Move the object local newTween = animation.to( object1, { x=150, y=400 }, { time=5000 } ) -- Sometime later, cancel the tween newTween:cancel()