Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MouseMove

Mouse was moved (Editor views only).
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UICommonModule
MouseMove = 2

Remarks

The mouse was moved without any buttons being held down. Use _mousePosition and _delta to determine mouse motion.
Note that this event is only sent in the Editor for EditorWindow windows which have _wantsMouseMove set to true. Mouse move events are never sent in the games.