GML Why can't i use "/**/*.json" to find file?

TheAsk

Member
When I use file_find_first(), "/*. json" can work normally, but "/**/*. json" cannot.
How should I find the specified files in all subdirectories under the parent directory?
 

TsukaYuriko

☄️
Forum Staff
Moderator
First get all subdirectories in the current directory (and then subdirectories of those, and then subdirectories of those, and...), then get all files in each of those subdirectories. :)
 
Top