I am attempting to use a timer to alter a variable in the parent node of the timer, the player.
func _on_DashTimer_timeout():
get_node("root/Game/Level_1/Player").ACCELERATION = 10
get_node("root/Game/Level_1/Player").MAX_SPEED = 50
get_node("root/Game/Level_1/Player").velocity = get_node("Player").current_velocity
however, whenever I run it, it says "invalid set index 'ACCELERATION' (on base: null instance) with value of 'int'"
I haven't spelled it wrong or anything, so I'm not sure what's going on. Anyone know the solution?