-- Store the effect attached to the GameObject local _Effect = vci.assets.GetEffekseerEmitter("EffectItemLoop") -- Start playing the effect _Effect._ALL_Play() function onUse() -- Pause the effect _Effect._ALL_SetPause(true) end function onUnuse() -- Resume the effect _Effect._ALL_SetPause(false) end