Get path to file / asset

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By wrymn

I am trying to list all files and directories under project folder.
But when using Directory.get_next(), it only returns name of file or dir

Is there a way to to get paths, at least relative to res:// folder?

What I want to do is iterate over every asset under folder and load it via ResourceLoader.load()

Example to load all files under assets folder

:bust_in_silhouette: Reply From: mrLogan

I think this has already been answered