Node.Constants

Values

ValueMeaning
pauseModeInherit0
pauseModeStop1
duplicateSignals1
duplicateGroups2
pauseModeProcess2
duplicateScripts4
duplicateUseInstancing8
notificationEnterTree10

Notification received when the node enters a SceneTree.

notificationExitTree11

Notification received when the node is about to exit a SceneTree.

notificationMovedInParent12

Notification received when the node is moved in the parent.

notificationReady13

Notification received when the node is ready. See _ready.

notificationPaused14

Notification received when the node is paused.

notificationUnpaused15

Notification received when the node is unpaused.

notificationPhysicsProcess16

Notification received every frame when the physics process flag is set (see setPhysicsProcess).

notificationProcess17

Notification received every frame when the process flag is set (see setProcess).

notificationParented18

Notification received when a node is set as a child of another node. Note: This doesn't mean that a node entered the SceneTree.

notificationUnparented19

Notification received when a node is unparented (parent removed it from the list of children).

notificationInstanced20

Notification received when the node is instanced.

notificationDragBegin21

Notification received when a drag begins.

notificationDragEnd22

Notification received when a drag ends.

notificationPathChanged23

Notification received when the node's NodePath changed.

notificationInternalProcess25

Notification received every frame when the internal process flag is set (see setProcessInternal).

notificationInternalPhysicsProcess26

Notification received every frame when the internal physics process flag is set (see setPhysicsProcessInternal).

notificationPostEnterTree27

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.

notificationWmMouseEnter1002

Notification received from the OS when the mouse enters the game window. Implemented on desktop and web platforms.

notificationWmMouseExit1003

Notification received from the OS when the mouse leaves the game window. Implemented on desktop and web platforms.

notificationWmFocusIn1004

Notification received from the OS when the game window is focused. Implemented on all platforms.

notificationWmFocusOut1005

Notification received from the OS when the game window is unfocused. Implemented on all platforms.

notificationWmQuitRequest1006

Notification received from the OS when a quit request is sent (e.g. closing the window with a "Close" button or Alt+F4). Implemented on desktop platforms.

notificationWmGoBackRequest1007

Notification received from the OS when a go back request is sent (e.g. pressing the "Back" button on Android). Specific to the Android platform.

notificationWmUnfocusRequest1008

Notification received from the OS when an unfocus request is sent (e.g. another OS window wants to take the focus). No supported platforms currently send this notification.

notificationOsMemoryWarning1009

Notification received from the OS when the application is exceeding its allocated memory. Specific to the iOS platform.

notificationTranslationChanged1010

Notification received when translations may have changed. Can be triggered by the user changing the locale. Can be used to respond to language changes, for example to change the UI strings on the fly. Useful when working with the built-in translation support, like GodotObject.tr.

notificationWmAbout1011

Notification received from the OS when a request for "About" information is sent. Specific to the macOS platform.

notificationCrash1012

Notification received from Godot's crash handler when the engine is about to crash. Implemented on desktop platforms if the crash handler is enabled.

notificationOsImeUpdate1013

Notification received from the OS when an update of the Input Method Engine occurs (e.g. change of IME cursor position or composition string). Specific to the macOS platform.

notificationAppResumed1014

Notification received from the OS when the app is resumed. Specific to the Android platform.

notificationAppPaused1015

Notification received from the OS when the app is paused. Specific to the Android platform.

Meta