# screen-effects.param-invalid

> Talos next · Since next

`ctx.screenEffects.setParam` was given an `effect` that is neither a shader path nor a whole-number index (a `TypeError`), or a value with a number that is not finite (a `RangeError`); nothing was set

| | |
|---|---|
| Severity | `error` |

## Meaning

`ctx.screenEffects.setParam` was given an `effect` that is neither a shader path nor a whole-number index (a `TypeError`), or a value with a number that is not finite (a `RangeError`); nothing was set

## Fix

pass the shader as `meta.render.screenEffects` writes it, or its index in that list, and a finite value
