---
title: "inputDeviceBottom"
description: "The y-coordinate for the bottom of the indirect pointer input device we're interacting with in px, where (0, 0) is the top left corner of the indirect pointer input device."
type: "property"
lastmod: "2026-05-08T01:17:01.224230Z"
---
## API Reference

> Source set: Common

```kotlin
val IndirectPointerInjectionScope.inputDeviceBottom: Float
```

The y-coordinate for the bottom of the indirect pointer input device we're interacting with in
px, where (0, 0) is the top left corner of the indirect pointer input device. Note: This is not
related to the screen coordinates.

Note that, unless `inputDeviceHeight == 0`, `inputDeviceBottom != inputDeviceHeight`. In
particular, `inputDeviceBottom == inputDeviceHeight - 1f`, because pixels are 0-based. If
`inputDeviceHeight == 0`, `inputDeviceBottom == 0` too.
