Any way to forward element properties to the scene root element without duplicating via script

Godot Version

4.x

Question

I often find my self creating scenes and want to expose some property of deeper nested elements to the scene itself. eg:

MyScene:Area2D
- CollisionShape
- Sprite
- Label

If instantiating MyScene I want to be able to adapt the label text (or any other key property)

I often find myself duplicating the property on the MyScene script and manually forwarding them to the subitem.

Is there a more elegant way? Because often this happens again if I compose MyScene into a more complex scene. So another duplication of Text is made that then is copied to MyScene sub instance that copies it to the label.

There’s a plugin someone made that allows you to do what you want. They posted about it here ion the forum in the last year. No idea what they called it.

You can always use Editable Children, though that may defeat the purpose of what you’re trying to do.

The way you are doing it is the way to do it.