MouseInputEvent 对象扩展自 InputEvent
type
String-事件类型,可以是mouseDown
,mouseUp
,mouseEnter
,mouseLeave
,contextMenu
,mouseWheel
ormouseMove
。x
Integery
Integerbutton
String (可选) - 按钮按下,可以是left
,middle
,right
。globalX
Integer (可选)globalY
Integer (可选)movementX
Integer (可选)movementY
Integer (可选)clickCount
Integer (可选)