Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PointerMoveEvent

This event is sent when a pointer changes state.
Read time 3 minutesLast updated 2 days ago

Definition

public sealed class PointerMoveEvent : PointerEventBase<PointerMoveEvent>, IDisposable, IPointerEvent

Remarks

The state of a pointer changes when one or more of its properties change, such as the mouse button pressure changes, or a different mouse button is pressed.
A
PointerMoveEvent
follows the default pointer event propagation path. It trickles down, bubbles up, and is cancellable.
Disabled elements don't receive this event.
For information about how the
PointerMoveEvent
relates to other pointer events, refer to PointerEventBase<T> and Pointer events.

Constructors

Constructor

Description

PointerMoveEvent()Constructor. Avoid creating new event instances. Instead, use GetPooled() to get an instance from a pool of reusable event instances.

Methods

Method

Description

InitResets the event members to their initial values.

Inheritance

Inherited Members