---
title: "inputDeviceWidth"
description: "The width of the external indirect pointer input device that provide the width boundary for indirect input."
type: "property"
lastmod: "2026-05-08T01:17:01.227609Z"
---
## API Reference

> Source set: Common

```kotlin
val IndirectPointerInjectionScope.inputDeviceWidth: Int
```

The width of the external indirect pointer input device that provide the width boundary for
indirect input. If you go outside this width, the tests will throw an exception. Note: This is
not related to the screen coordinates.
