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