---
title: "PointerType"
description: "The device type that produces a [PointerInputChange], such as a mouse or stylus."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
value class PointerType private constructor(private val value: Int)
```


The device type that produces a `PointerInputChange`, such as a mouse or stylus.


## Companion Object

#### Properties

<div class='sourceset sourceset-common'>Common</div>


```kotlin
val Unknown = PointerType(0)
```


An unknown device type or the device type isn't relevant.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val Touch = PointerType(1)
```


Touch (finger) input.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val Mouse = PointerType(2)
```


A mouse pointer.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val Stylus = PointerType(3)
```


A stylus.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val Eraser = PointerType(4)
```


An eraser or an inverted stylus.





