Topic was automatically imported from the old Question2Answer platform.
Asked By
henriquelalves
Old Version
Published before Godot 3 was released.
Is just something I was always curious about, what is the use of the “PASS” keyword, if in GDscript you can return void by simply calling return and nothing else? Is “PASS” related to threading or something like that?
if im not mistaken pass simply means you ignore and sort of place a “block” of code that does nothing… you can use pass when writing a script with lots and lots of ifs and simply not wanting to implement all the ifs yet and you only write the ifs themselves down