Why don't GDScript functions require to be defined? You can simply call them and they execute regardless of where they are in the script. Do you know why that is? Alternatively, in python, functions need to be defined (def) at the beginning of your code before they can be called.
Thanks