Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


area

Indicates the portion of the screen that is currently covered by the on-screen keyboard.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static Rect area { get; }

Remarks

On Android, this property returns a Rect with top-left axis origin. On devices with API levels earlier than 30, this property returns a zero
Rect
, that is
Rect(0,0,0,0)
. The returned
Rect
defines the actual rectangular area covered by the keyboard with coordinates measured from the top-left corner of the screen.