Utilizing the documentation
Sometimes, it is hard to anticipate how the built-in classes, functions, or variables of the Godot Engine work. Luckily, the engine has great documentation that explains everything in great detail.
Accessing a class’s documentation
We can always access the documentation of any internal class by simply using Ctrl + clicking on the name of the class. This will take you to the specific documentation page of that class.
Figure 5.2 – Ctrl + clicking on an internal class name, such as the Array class
As shown in Figure 5.3, the documentation page starts with a simple description of what the class is used for and sometimes this part gives usage examples.
Figure 5.3 – The documentation page for the Array class
Then follows an overview of the class’s member functions, variables, signals, and operators. We’ll see more about signals in Chapter 9. Note that you can easily...