メインコンテンツへスキップ

MouseInputEvent オブジェクトは `InputEvent` を継承

  • type string - イベントの種類。mouseDownmouseUpmouseEntermouseLeavecontextMenumouseWheelmouseMove のいずれか。
  • x 整数
  • y 整数
  • button string (オプション) - 押されたボタン。leftmiddleright のいずれか。
  • globalX 整数 (オプション)
  • globalY 整数 (オプション)
  • movementX 整数 (オプション)
  • movementY 整数 (オプション)
  • clickCount 整数 (オプション)