Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


isFocused

Whether the Player currently has focus (Read Only).
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static bool isFocused { get; }

Remarks

In the Editor, this corresponds to whether the Game view has focus (regardless of whether the Editor is in Play mode or not).