Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Stationary

A finger is touching the screen but hasn't moved.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.InputLegacyModule
Stationary = 2

Remarks

A touch enters this phase when it stays on the screen but its position doesn't change between frames. The threshold that separates a stationary touch from a TouchPhase.Moved touch is platform-dependent and isn't an exact zero-distance test. Platforms that use Unity's built-in touch emulation, such as Android, keep a touch stationary until it moves more than a small distance. On iOS, the operating system reports this phase directly.