Search Unity

Question Using Values/Axis as buttons

Discussion in 'Input System' started by jamie_xr, Jun 5, 2023.

  1. jamie_xr

    jamie_xr

    Joined:
    Feb 28, 2020
    Posts:
    66
    From what I can see we can use values/axis as buttons. However the processors are not applied in this situation. If i use an axis as a button, I'd like to invert/clamp it so only one direction of the axis is used as value for evaluating the button action. However it's using `EvaluateMagnitude` which will absolute the axis value - it's raw value and thus ignoring any processors applied. Is this intended behaviour? Any work around?