Hello there :). So I'm kinda new to Godot but have some experience with unity. So I'm trying make something really simple where you click space and sets the gravity scale to 2. So It worked the 1st 2 times but now it wont. I dont know why. Here's my code.
func _input(event):
if Input.is_action_pressed("jump"):
gravity_scale = 2