MouseInputEvent 对象扩展自 InputEvent

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