The relative movement of the mouse compared to last event.
Used in EventType.MouseMove, EventType.MouseDrag, EventType.ScrollWheel events.
Additional resources: Event.mousePosition.
using UnityEngine;
public class Example : MonoBehaviour { // Move the scroll wheel to determine // the X & Y scrolling amount. void OnGUI() { Event e = Event.current; if (e.isMouse) { Debug.Log(e.delta); } } }