I want to increase or decrease a float variable that is between 1 and 0.4 depending on the position of the mouse.
For example, mouse moves up, value increases, mouse moves down it decreases, but is not greater than 1 or less than 0.4 I know I did not attach any code, but I just want an indication. Thanks !