---
title: "requireOffset"
description: "Require the current offset."
type: "function"
---
## API Reference

### requireOffset

> Source set: Common

```kotlin
public fun requireOffset(): Float
```

Require the current offset.

#### Throws: IllegalStateException

If the offset has not been initialized yet
