# getEffectEvolution (Shared)

> Reads the level of one of an effect's evolutions.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Shared
- **Category**: Effects
- **URL**: https://wiki.mymp.gg/en/getEffectEvolution

## Syntax

```lua
float|false getEffectEvolution(effect effect, string name)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `effect` | `effect` | The effect. |
| `name` | `string` | The evolution's name. Case does not matter. |

## Returns

The level, or `false` if that evolution was never set with `setEffectEvolution`, or with a wrong argument.

## Example

```lua
local fire = createEffect("fire_large", 0, 0, 3)
setEffectEvolution(fire, "strength", 0.3)
outputDebugString(getEffectEvolution(fire, "STRENGTH")) -- 0.3
```

## See also

- [setEffectEvolution (Shared)](https://wiki.mymp.gg/en/setEffectEvolution.md): Changes the level of one of an effect's evolutions, a parameter the effect itself declares to vary its look.
- [getEffectScale (Shared)](https://wiki.mymp.gg/en/getEffectScale.md): Reads an effect's size.
