# SETFILTERBYINDEX

Instead of specifying the filter name, you can set a filter using its index. The first filter that is created will have an index value of 0.

### Syntax

```javascript
SETFILTERBYINDEX(INDEX_VALUE)
```

### Example

```
SETFILTERBYINDEX(3)
```

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/HnbGdE3d4bLbNHRNtxQf/image.png" alt=""><figcaption><p>Set filter by index</p></figcaption></figure>
