This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

I recall someone making a video on signals and showing a way to use a signal to trigger another node's builtin class set method without having any script file on the target node.

Is that possible in godot editor, and if so - how do you do it?
Can signals trigger events on other nodes that have no script attached to them?

in Engine by (100 points)

1 Answer

0 votes

I don't understand your question... so I'm just guessing here.

As far as I know you cannot implement a signal callback withou writting code (and that means attaching a script somewhere). What you can do on the editor is assign a node's signal to another node (inside its script). Inside the callback function, you can access any class method of any node's class.

If you can elaborate your question more, we can find the proper answer.

by (699 points)

Hi, I found it on my own.
It is possible to access another node's built in methods via the signal connection editor - and whats cool about it is yes - you dont need to attach a script file to trigger a method!

Very cool stuff

Unfortunatelly we can not pass parameters though:


I didn't know you could access those methods through the editor! Well, in the end we'll have to stick to making that by code. I prefer that way, you have full control!

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.