Simulates a mouse-wheel scroll by the specified number of pixels.
Emits a virtual wheel event. Roblox normalises wheel deltas internally, so 1 unit may not equal 1 pixel of on-screen movement - treat the parameter as wheel travel rather than a strict pixel count.
Most commonly used to drive third-person camera-zoom binds (scroll adjusts zoom in most Roblox games), or to feed an in-game scrolling UI from a script.
Parameters
Returns
void
Example
Usually linked to zooming the camera or scrolling game UIs.