---
title: "OverscrollConfiguration"
description: "Metadata for overscroll effects for android platform."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-android'>Android</div>


> **Deprecated** Providing `OverscrollConfiguration` through `LocalOverscrollConfiguration` to disable / configure overscroll has been replaced with `LocalOverscrollFactory` and `rememberPlatformOverscrollFactory`. To disable overscroll, instead of `LocalOverscrollConfiguration provides null`, use `LocalOverscrollFactory provides null`. To change the glow color / padding, instead of `LocalOverscrollConfiguration provides OverscrollConfiguration(myColor, myPadding)`, use `LocalOverscrollFactory provides rememberPlatformOverscrollFactory(myColor, myPadding)`

```kotlin
@ExperimentalFoundationApi
class OverscrollConfiguration(
    val glowColor: Color = Color(0xff666666), // taken from EdgeEffect.java defaults
    val drawPadding: PaddingValues = PaddingValues(),
)
```


Metadata for overscroll effects for android platform.

#### Parameters

| | |
| --- | --- |
| glowColor | color for the glow effect, if the platform effect is a glow effect, otherwise ignored. |
| drawPadding | the amount of padding to apply from scrollable container bounds to the effect before drawing it, if the platform effect is a glow effect, otherwise ignored. |




