---
title: "contentBounds"
description: "This can update as the modifier is getting disposed, so return zero if we aren't attached to avoid crashing."
type: "function"
---
## API Reference

### contentBounds

> Source set: Common

```kotlin
override fun contentBounds(destinationCoordinates: LayoutCoordinates): Rect
```

This can update as the modifier is getting disposed, so return zero if we aren't attached to
avoid crashing. However the caller is responsible for providing a valid and attached
`destinationCoordinates`.
