Manual     Reference     Scripting  
  
Scripting > Runtime Classes > Event   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Enumerations
  • History
  • Index
  • Event
  • All Members
  • Variables
  • alt
  • button
  • capsLock
  • character
  • clickCount
  • command
  • commandName
  • control
  • delta
  • functionKey
  • isKey
  • isMouse
  • keyCode
  • mousePosition
  • numeric
  • shift
  • type
  • Functions
  • GetTypeForControl
  • Use
  • Class Variables
  • current
  • Class Functions
  • KeyboardEvent

Event.delta  

var delta : Vector2

Description

The relative movement of the mouse compared to last event.

Used in EventType.MouseMove, EventType.MouseDrag, EventType.ScrollWheel events.

See Also: Event.mousePosition.