---
title: "updateHandleDragging"
description: "Sets currently dragging handle state to [handle] and positions it at [position]."
type: "function"
---
## API Reference

### updateHandleDragging

> Source set: Common

```kotlin
fun updateHandleDragging(handle: Handle, position: Offset)
```

Sets currently dragging handle state to `handle` and positions it at [position](/jetpack-compose/androidx.compose.foundation/foundation/functions/position/api). This is
mostly useful for updating the magnifier.

#### Parameters

| | |
| --- | --- |
| handle | A real or acting handle that specifies which one is being dragged. |
| position | Where the handle currently is |
