Assigning dinamically an script in execution time

Godot Version

4.2

Question

Hi, is it possible to assign in execution time from a node script’s a script to a different node that has no script?

Thanks in advance

Hey

Yes it is possible, you should look here:

The only requirement is that it inherits Object

Hope that helped, good luck!

1 Like