Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MouseDrag

Mouse was dragged.
Read time 1 minuteLast updated 4 days 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.