My buttons dont work and i dont know why

Godot Version

4.2.2

Question

i am currently trying to make a main menu my problem is that the buttons just don’t work and I don’t quite understand why.

i think the problem is that you try to change to a “.gd”-file but it has to be a “.tscn”-file in the “modus_1”-preload(). Are there error messages?

i have now selected the correct file but it still does not work

there are no errors but these two warnings(edit the warnings do not appear anymore)

The name of your methods misses a “_” at the beginning:

func _on_spiel_schlisen_button_down():

func _on_spiel_start_button_down():

1.thanks for helping me
2.it is still not working
3.another thing i noticed is that i have no indicator when i hover over the button with the mouse idk if that matters but maybe it helps

Can you show your menu-scene?

do you men this?
Screenshot 2024-08-09 165247

It seems you didn’t connect the signals properly. You should see these icons in your Scene panel. This is a screenshot from my own project.

I did it again with this in mind and now it works thank you

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.