> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# mousescroll

> Roblox window が active のとき、mouse wheel event を送信します。amount 引数は Lua number として検査され、integer conversion で変換され、the requested mouse action 付きの mouse input に dwData 値として直接渡されます。Real は amount を正規化せず、movement data も追加しません。この function は何も返さず、isrbxactive が false になる場合は input を送信せずに戻ります。

<div className="real-function-page">
  ```lua theme={null}
  mousescroll(amount: number)
  ```

  ## 引数

  <ParamField path={"amount"} type={"number"} required>
    Lua number として読み取られ、mouse input に渡される前に integer conversion で変換される wheel dwData value。
  </ParamField>
</div>
