docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Built-in processors

    The Input System package comes with a set of built-in Processors, which you can use with bindings, actions and controls.

    Processor name Description Operand type Parameters
    Clamp Clamps input values to the [min..max] range. float
    • float min
    • float max
    Invert Inverts the values from a Control (that is, multiplies the values by −1). float None
    InvertVector2 Inverts the values from a Control (that is, multiplies the values by −1). Inverts the x-axis of the vector if invertX is true, and the y-axis if invertY is true. Vector2
    • bool invertX
    • bool invertY
    Invert Vector 3 Inverts the values from a Control (that is, multiplies the values by −1). Inverts the x-axis of the vector if invertX is true, the y-axis if invertY is true, and the z-axis if invertZ is true. Vector3
    • bool invertX
    • bool invertY
    • bool invertZ
    Normalize Normalizes input values in the range [min..max] to unsigned normalized form [0..1] if min is >= zero, and to signed normalized form [-1..1] if min < zero. float
    • float min
    • float max
    • float zero
    NormalizeVector2 Normalizes input vectors to be of unit length (1). This is the same as calling Vector2.normalized. Vector2 None
    NormalizeVector3 Normalizes input vectors to be of unit length (1). This is the same as calling Vector3.normalized. Vector3 None
    Scale Multiplies all input values by factor. float float factor
    ScaleVector2 Multiplies all input values by x along the x-axis and by y along the y-axis. Vector2
    • float x
    • float y
    ScaleVector3 Multiplies all input values by x along the x-axis, by y along the y-axis, and by z along the z-axis. Vector3
    • float x
    • float y
    • float z
    AxisDeadzone Scales the values of a Control so that any value with an absolute value smaller than min is 0, and any value with an absolute value larger than max is 1 or −1.

    Many Controls don't have a precise resting point (that is, they don't always report exactly 0 when the Control is in the center). Using the min value on a deadzone Processor avoids unintentional input from such Controls. Also, some Controls don't consistently report their maximum values when moving the axis all the way. Using the max value on a deadzone Processor ensures that you always get the maximum value in such cases.
    float
    • float min
    • float max
    StickDeadzone Scales the values of a Vector2 Control, such as a stick, so that any input vector with a magnitude smaller than min results in (0,0), and any input vector with a magnitude greater than max is normalized to length 1.

    Many Controls don't have a precise resting point (that is, they don't always report exactly 0,0 when the Control is in the center). Using the min value on a deadzone Processor avoids unintentional input from such Controls. Also, some Controls don't consistently report their maximum values when moving the axis all the way. Using the max value on a deadzone Processor ensures that you always get the maximum value in such cases.
    Vector2
    • float min
    • float max
    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)