Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MouseDrag

Mouse was dragged.
Read time 1 minuteLast updated 6 days ago

Definition

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

Remarks

The mouse was moved with a button held down - a mouse drag. Use _mousePosition and _delta to determine mouse motion.