gdscript create node code example
Example: gdscript create node
# an example of how to create and add a button
var button = Button.new()
add_child(button)
# an example of how to create and add a button
var button = Button.new()
add_child(button)