See all glossary termsAn indentation, or indent in short, is the added spaces or tabs between the margin and the start of a line of code.
In GDScript and other programming languages like Python, indents tell the computer where blocks of code start and end.
Without indents, the computer could not know where the code of a function ends, for example.
The amount and type of indentation used depends on the programming language. In GDScript, for example, one indent is either composed of four space characters, or one tab character.
While GDScript supports both tabs and spaces for indentation, in one GDScript file, you cannot mix tabs and space characters.See Also
Related terms in the Glossary
school.gdquest.com - 0.3.5-2024-12-12T18:17:18.104Z-a38dc74be3238fd1ea161f4df67b95520741da9d-release