MouseMove
Mouse was moved (Editor views only).
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.IMGUIModule
MouseMove = 2
Remarks
The mouse was moved without any buttons being held down. Use Event.mousePosition and Event.delta to determine mouse motion.
Note that this event 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.