Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

EventType.MouseLeaveWindow

Description

Mouse left a window (Editor views only).

The user moved the mouse out of a window without any buttons being held down. This event is sent once, as the mouse leaves the window.

Note that this event is only sent in the Editor for EditorWindow windows which have EditorWindow.wantsMouseEnterLeaveWindow set to true. Mouse enter or leave window events are never sent in the games.

Did you find this page useful? Please give it a rating: