0 votes

Hi, i was wondering if there is a way inside debug window to monitor all/any signal emission in the scene? i need to see it in case i'm not capturing the signal well but it is being fired properly (or i do capture it but it didn't even fire).

Godot version 3.4
in Engine by (12 points)

1 Answer

0 votes

I don't believe there is currently an option to track all fired signals. However, you can do a quick and easy test with some simple print statements.

func signal_sender() -> void:
     print("sending signal")
     emit_signal("my_signal")

func fires_on_signal() -> void:    
     print("signal received")

Of course, you would need to add a connect in there somewhere to ensure that when the signal fires it is heard. Check out the Signals documentation for more info on the connection. Let me know if you still have troubles.

Happy coding!

by (22 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.