<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [ScrollMutations](./x-components.scrollmutations.md) &gt; [setScrollComponentState](./x-components.scrollmutations.setscrollcomponentstate.md)

## ScrollMutations.setScrollComponentState property

Sets the scroll position of a certain panel.

**Signature:**

```typescript
setScrollComponentState: (partialState: ScrollStatePayload) => void;
```
