跳转到主内容

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 (可选)