diff --git a/getting_started/scripting/gdscript/gdscript_basics.rst b/getting_started/scripting/gdscript/gdscript_basics.rst index 5a5a6a89d6a..c883a70645c 100644 --- a/getting_started/scripting/gdscript/gdscript_basics.rst +++ b/getting_started/scripting/gdscript/gdscript_basics.rst @@ -654,8 +654,12 @@ the scene tree:: Constants ~~~~~~~~~ -Constants are similar to variables, but must be constants or constant -expressions and must be assigned on initialization. +Constants are values you cannot change when the game is running. +Their value must be known at compile-time. Using the +``const`` keyword allows you to give a constant value a name. Trying to assign a +value to a constant after it's declared will give you an error. + +We recommend using constants whenever a value is not meant to change. ::