# PaneMotionData

# PaneMotionData

Artifact:[androidx.compose.material3.adaptive:adaptive-layout](https://developer.android.com/jetpack/androidx/releases/compose-material3-adaptive)  
[View Source](https://cs.android.com/search?q=file:androidx/compose/material3/adaptive/layout/PaneMotion.kt+class:androidx.compose.material3.adaptive.layout.PaneMotionData)  
Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-material3-adaptive#1.1.0)
Common/All
  - Cmn  

  ```
  @ExperimentalMaterial3AdaptiveApi
  class PaneMotionData
  ```

*** ** * ** ***

A class to collect motion-relevant data of a specific pane.

## Summary

|                                               ### Public properties                                                |
|--------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----|
| [PaneMotion](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneMotion) | [motion](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneMotionData#motion()) The specified[PaneMotion](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneMotion)of the pane.                 | Cmn |
| [IntOffset](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/IntOffset)                     | [originPosition](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneMotionData#originPosition()) The origin placement of the pane that it should animate from, with the offset relative to the associated pane scaffold's local coordinates. | Cmn |
| [IntSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/IntSize)                         | [originSize](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneMotionData#originSize()) The origin measured size of the pane that it should animate from.                                                                                   | Cmn |
| [IntOffset](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/IntOffset)                     | [targetPosition](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneMotionData#targetPosition()) The target placement of the pane that it should animate to, with the offset relative to the associated pane scaffold's local coordinates.   | Cmn |
| [IntSize](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/IntSize)                         | [targetSize](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneMotionData#targetSize()) The target measured size of the pane that it should animate to.                                                                                     | Cmn |

## Public properties

### motion

Cmn  
Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-material3-adaptive#1.1.0)  

```
val motion: PaneMotion
```

The specified[PaneMotion](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneMotion)of the pane.  

### originPosition

Cmn  
Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-material3-adaptive#1.1.0)  

```
val originPosition: IntOffset
```

The origin placement of the pane that it should animate from, with the offset relative to the associated pane scaffold's local coordinates.  

### originSize

Cmn  
Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-material3-adaptive#1.1.0)  

```
val originSize: IntSize
```

The origin measured size of the pane that it should animate from.  

### targetPosition

Cmn  
Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-material3-adaptive#1.1.0)  

```
val targetPosition: IntOffset
```

The target placement of the pane that it should animate to, with the offset relative to the associated pane scaffold's local coordinates.  

### targetSize

Cmn  
Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-material3-adaptive#1.1.0)  

```
val targetSize: IntSize
```

The target measured size of the pane that it should animate to.