Index | Collapse All Expand All

IndexOf Method
EffectList Class Members See Also

Beta Documentation - Subject to change.
Gets the index of an effect in the list.

# Syntax

Lua
    function EffectList:IndexOf(value);

#### Parameters

value
  Type: Effect
  The effect to get the index of.

#### Returns

Type: number
The index of the effect or -1 if it is not in the list.

# Remarks

Gets the index of an effect in the list. If the effect is not in the list, -1 will be returned instead.

# See Also

- EffectList
- Turbine.Gameplay