Hello,
I am trying to move my player with a slider on its x-axis.
The player-movement speed is determined how far the value is away from 0, the middle value.
However, when the Handle-slider is released, it should turn back to 0, else it will keep adding x-movement to the player.
It can be compared to “Input.GetAxis(“Horizontal”)” as it has the range from -1 to 1 and goes back to 0 if nothing is pressed.
Thanks in advance.