MouseInputEvent 对象扩展自 InputEvent

优质
小牛编辑
135浏览
2023-12-01
  • 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 (可选)