docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Scroll Delta Behavior

    Customize the range of values that the mouse scroll wheel delta reports, for example to get the same range on every platform.

    To find this setting, go to Edit > Project Settings > Input System Package. To read or change it in code, use InputSettings.scrollDeltaBehavior.

    Scroll Delta Behavior values

    The Scroll Delta Behavior setting has the following values.

    Value Description
    Uniform Across All Platforms Normalizes the scroll delta to a range from −1 to 1 on all platforms. This is the default.
    Keep Platform Specific Input Range Lists the range that the platform reports. The range is typically from −120 to 120 on Windows, and from −1 to 1 on macOS and Linux. Other platforms might use different ranges.

    These ranges apply to each scroll event. Mouse.scroll adds up all the scroll events that arrive in one input update, so its value can go beyond these ranges when the user scrolls quickly.

    Additional resources

    • Query and control mouse devices in code
    • Create a settings asset
    • Input settings
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)