Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Using Values/Axis as buttons

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

  1. jamie_xr


    Feb 28, 2020
    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?