Documentation

Unity Engine

Unity Engine

MouseDrag

Mouse was dragged.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.IMGUIModule
MouseDrag = 3

Remarks

The mouse was moved with a button held down - a mouse drag. Use Event.mousePosition and Event.delta to determine mouse motion.