How to get a node from the exported scene

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Mrpaolosarino

I have a code where:

export(PackedScene) var Bullet

I go to editor and add the bullet scene. What I want is to access it’s nodes inside it.
do I need to use get_node, get_parent(), etc. etc.

or

This is too much performance eater and you have much more efficient in doing so.

I want to know please, thanks

:bust_in_silhouette: Reply From: exuin

Use the instance ()method to create an instance of the scene. The return value is the root node of the scene.