How to recreate hidden nodes in some control nodes and add them to custom one?

Godot Version

4.7

Question

How to add hidden nodes to a custom node that aren’t displayed in local scene?
(For example, nodes in TextEdit)
(I’m making a GUI plugin for my game and I can’t find how to add nodes like this.)

Sorry if my English is bad or strange, it is not my first language

LineEdit creates those nodes internally, which is why they’re only visible in the Remote tree. They’re not part of the scene itself.

You can create internal children with:

var timer := Timer.new()
add_child(timer, false, INTERNAL_MODE_BACK)

hope it helps.

Thanks, it worked!

happy to help <3