Whats this error asking in (line 54, 1)

Godot Version

v4.2.1.stable.official [b09f793f5]


<i need help on this line of code! it says “Line 54:Expected closing “)” after call arguments.”
and this is the code

func _on_SpriteSelector_sprite_changed (texture: ImageTexture, key: String) → void :

“→” this looks weird

This is nothing wrong, that just means this function will return void (nothing)

@joanacoelho206 Without see the entire code is hard to help because this type of error can happen in other line but the engine interplets in another, so a print in the part that shows the error and/or the entire code will help more

1 Like

this is the code i was trying to do but it always gives that error

Is exact like i said, you forgot to put the “)” to close the connect function in line 51