Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PointerStationaryEvent

This event is sent when a pointer does not change for a set amount of time, determined by the operating system.
Read time 3 minutesLast updated 4 days ago

Definition

Warning
Deprecated. Not sent by input backend.
public sealed class PointerStationaryEvent : PointerEventBase<PointerStationaryEvent>, IDisposable, IPointerEvent

Remarks

After a PointerDownEvent is sent, this event is sent if a PointerMoveEvent or a PointerUpEvent is not sent before a set amount of time.
A PointerStationaryEvent uses the default pointer event propagation path: it trickles down, bubbles up and can be cancelled. Disabled elements receive this event by default.
See PointerEventBase<T> to see how PointerStationaryEvent relates to other pointer events.

Constructors

Constructor

Description

PointerStationaryEvent()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