Hello, I am having trouble with a seemingly simple thing. I ran into the error in my main game and then made a testing script in an otherwise empty project to test it. I'm really at a loss for what I'm doing wrong.
Basically, I just want to check if my variable, which is a float number, is within a certain interval. Here is a picture of the code I wrote for the test script.
The error log tells me: "Invalid operands 'bool' and 'float' in operator '<'.
But the numbers are float numbers on either side of the expression, and "test" is a float variable, is it not? Where is this boolean coming from?
I am running Godot 3.4.4-stable_win64 and using GDScript