Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

TouchPhase.Stationary

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

A finger is touching the screen but hasn't moved.

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.