Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

EventType.MouseMove

Description

Mouse was moved (editor views only).

The mouse was moved without any buttons being held down. Use Event.mousePosition and Event.delta to determine mouse motion.

Note that this even is only sent in the Editor, for EditorWindow windows which have EditorWindow.wantsMouseMove set to true. Mouse move events are never sent in the games.