跳到主内容

MouseInputEvent 对象扩展自 InputEvent

  • type String-事件类型,可以是 mouseDown, mouseUp, mouseEnter, mouseLeave, contextMenu, mouseWheel or mouseMove
  • x Integer
  • y Integer
  • button String (可选) - 按钮按下,可以是 leftmiddleright
  • globalX Integer (可选)
  • globalY Integer (可选)
  • movementX Integer (可选)
  • movementY Integer (可选)
  • clickCount Integer (可选)