Uploaded October 2023 | Updated September 2026, 3 hours ago
Hi all, just a quick video on how to use setters and getters in Godot 4. Here is the code to the project github.com/mmmmmmmmmmmmmmmmmmmdonuts/godot_4_setgettutorial
if you want to see the 2 different methods.
Here is my more in-depth guide to using signals in godot 4 if you are confused about them or how I wired up the health_changed signal youtu.be/PFDbrj77HjI
Here is the link to the GDScript reference (sorry you have to search the page for "Properties (setters and getters)" to scroll down to it)
docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_basics.html#
00:00 - Project Description / Setup
03:30 - Syntax for Set and Get
Hi all, just a quick video on how to use setters and getters in Godot 4. Here is the code to the project github.com/mmmmmmmmmmmmmmmmmmmdonuts/godot_4_setgettutorial
if you want to see the 2 different methods.
Here is my more in-depth guide to using signals in godot 4 if you are confused about them or how I wired up the health_changed signal youtu.be/PFDbrj77HjI
Here is the link to the GDScript reference (sorry you have to search the page for "Properties (setters and getters)" to scroll down to it)
docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_basics.html#
00:00 - Project Description / Setup
03:30 - Syntax for Set and Get


