|Topic was automatically imported from the old Question2Answer platform.
So I have been following a tutorial made by GDQuest called Make your first 2D game with Godot. I have made it far into the tutorial, but when it came to interrupting the jump, I put in the same code the GDQuest person put in, but I ended up getting the error “The assigned value doesn’t have a set type: the variable type can’t be inferred”. I have re-watched that section of the tutorial multiple times, making sure I haven’t missed anything I should have put in prior to the code, but I couldn’t find anything, I even re-entered the code making sure I didn’t make any typos, but there was no typo and the error still pops up. This is the code that’s giving me some major trouble:
var is_jump_interrupted: = Input.is_action_just_released("jump") and velocity.y < 0.0