local transform = vci.assets.GetTransform("fan_root") local animation = transform.GetAnimation() function onGrab(target)--掴んだとき animation._ALL_Play(true)--trueにすることでアニメーションをループ end function onUngrab(target)--手を離したとき animation._ALL_Stop()--アニメーション停止 end