When nodes enter the Scene Tree, they become active and receive the _enter_tree()
callback, which executes after _init()
and before _ready()
:
Called when the node enters the SceneTree (...). If the node has children, its _enter_tree() callback will be called first, and then that of the children.