From c4db831703e37398a6f49be21af5deecc6a9f8b0 Mon Sep 17 00:00:00 2001 From: Felipe Augusto Marques Date: Thu, 18 May 2023 04:36:54 -0300 Subject: [PATCH] More precise documentation about property underlying access (#7362) Co-authored-by: Max Hilbrunner --- tutorials/scripting/gdscript/gdscript_basics.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/scripting/gdscript/gdscript_basics.rst b/tutorials/scripting/gdscript/gdscript_basics.rst index 8eed4414e..913c0d2de 100644 --- a/tutorials/scripting/gdscript/gdscript_basics.rst +++ b/tutorials/scripting/gdscript/gdscript_basics.rst @@ -1579,8 +1579,8 @@ Example:: set(value): milliseconds = value * 1000 -Using the variable name inside its own setter or getter will directly access the underlying member, so it -won't generate infinite recursion and saves you from explicitly declaring another variable:: +Using the variable's name to set it inside its own setter or to get it inside its own getter will directly access the underlying member, +so it won't generate infinite recursion and saves you from explicitly declaring another variable:: signal changed(new_value) var warns_when_changed = "some value":