---
title: "OffsetEffect"
description: "Create an [OffsetEffect] that implicitly offsets the contents of the [GraphicsLayerScope] it is
configured on"
type: "function"
---

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


<a id='references'></a>
<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun OffsetEffect(offsetX: Float, offsetY: Float) = OffsetEffect(null, Offset(offsetX, offsetY))
```


Create an `OffsetEffect` that implicitly offsets the contents of the `GraphicsLayerScope` it is
configured on



