As expected, I'm new to Godot and I've encountered a problem that has gotten me stuck for hours.
In my if statement I want to add one to my variable "enter" each time my user presses the enter key.
What actually occurs is that "enter" is set to one and updates as one consistently instead of adding one.
Thank you in advance.
export (int) var enterKeyCount = 0
var studentName = "";
enter = enterKeyCount + 1
if (enter == 1):
studentName = get_node("../LineEdit").get_text()