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

> Wysyla mouse wheel event, gdy Roblox window jest active. Argument amount jest sprawdzany jako Lua number, konwertowany przez integer conversion i przekazywany bezposrednio jako wartosc dwData do mouse input z the requested mouse action. Real nie normalizuje amount ani nie dodaje movement data. Function nic nie zwraca i wraca bez wysylania input, gdy isrbxactive byloby false.

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

  ## Argumenty

  <ParamField path={"amount"} type={"number"} required>
    Wheel dwData value czytany jako Lua number i konwertowany przez integer conversion przed przekazaniem do mouse input.
  </ParamField>
</div>
