> ## 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

> ส่ง mouse wheel event เมื่อ Roblox window active อาร์กิวเมนต์ amount ถูกตรวจเป็น Lua number แปลงด้วย integer conversion และส่งตรงเป็นค่า dwData ไปยัง mouse input พร้อม the requested mouse action Real ไม่ normalize amount และไม่เพิ่ม movement data function นี้ไม่คืนค่าและ return โดยไม่ส่ง input เมื่อ isrbxactive จะเป็น false

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

  ## Arguments

  <ParamField path={"amount"} type={"number"} required>
    Wheel dwData value ที่อ่านเป็น Lua number และแปลงด้วย integer conversion ก่อนส่งไปยัง mouse input
  </ParamField>
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.