Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


consumesOutsideTouches

Indicates whether the keyboard consumes screen touches outside the visible keyboard area.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Warning
Deprecated. consumesOutsideTouches is deprecated and will be removed in a future version where Unity will always process touch input outside of the on-screen keyboard (consumesOutsideTouches = false)
public static bool consumesOutsideTouches { get; set; }

Remarks

Deprecated: In future versions Unity will always process touch input outside of the on-screen keyboard.
This is relevant when the on-screen keyboard is visible. When
true
, Unity ignores touch input outside of the on-screen keyboard area. When
false
, Unity processes touch input outside of the on-screen keyboard area as it would do if the keyboard wasn't on-screen.
The default value is
false
.