GDScript & Python Comparison

Syntax reference and structural translator tool

GDScript
Python Equivalent
Syntax Mapping Reference Guide

Type Hinting

GDScript uses var name: Type. Python uses name: Type = value (PEP 484).

Exporting

GDScript uses @export for Inspector integration. Python does not have an equivalent concept without custom decorators.

Copied to clipboard!