🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

PointerEvent

Describes a pointer input change event that has occurred at a particular point in time.

Source set: Common
public class PointerEvent internal constructor(
    changes: List<PointerInputChange>,
    internalPointerEvent: InternalPointerEvent?,
)

Describes a pointer input change event that has occurred at a particular point in time.

Properties

changes

Source set: Common
public val changes: List<PointerInputChange>

The changes.

buttons

Source set: Common
public val buttons: PointerButtons

The state of buttons (e.g. mouse or stylus buttons) during this event.

keyboardModifiers

Source set: Common
public val keyboardModifiers: PointerKeyboardModifiers

The state of modifier keys during this event.

type

Source set: Common
public var type: PointerEventType

The primary reason the PointerEvent was sent.