diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index 2f7b349ba58..2a8762cb606 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -925,6 +925,9 @@ Notification received every frame when the internal physics process flag is set (see [method set_physics_process_internal]). + + Notification received when the node is ready, just before [constant NOTIFICATION_READY] is received. Unlike the latter, it's sent every time the node enters tree, instead of only once. + Notification received from the OS when the mouse enters the game window. Implemented on desktop and web platforms. diff --git a/scene/main/node.cpp b/scene/main/node.cpp index 81c7b382c7f..e95d8616d85 100644 --- a/scene/main/node.cpp +++ b/scene/main/node.cpp @@ -2873,6 +2873,7 @@ void Node::_bind_methods() { BIND_CONSTANT(NOTIFICATION_PATH_CHANGED); BIND_CONSTANT(NOTIFICATION_INTERNAL_PROCESS); BIND_CONSTANT(NOTIFICATION_INTERNAL_PHYSICS_PROCESS); + BIND_CONSTANT(NOTIFICATION_POST_ENTER_TREE); BIND_CONSTANT(NOTIFICATION_WM_MOUSE_ENTER); BIND_CONSTANT(NOTIFICATION_WM_MOUSE_EXIT);