#Unable to Emit Signals

11 messages · Page 1 of 1 (latest)

frozen nexus
#

Hi! As far i see on your gui.gd file don't exists signal that you trying emit "pressed".

Check again and declare your signal on your source code as follows:

signal pressed

I hope this help you.

glacial elbow
#

iam not familiar with find_child, try to print playButton and other stuff if it return anything even

#

if the UI is not generated during run time just get the references with onready vars

frozen nexus
#

i thought about your class extends from a control node, and button is a more specialized class

#

when you emit a signal godot try emit a signal that exists on the current scope

#

But i'm sorry friend, i could be wrong

#

lets await more experts godot people here

jovial mason
#

Your gui.gd extends Control. Control does not have a pressed signal

#

Exactly as the error says

#

here is the documentation for Control