Godot Version
Godot v4.6.1
Question
So with the .get_next()method you can cycle through the files in a directory, like if i have opened a directory containing apple.png, grapes.png and orange.png with DirAccess.open and then start cycling through it with Example_Var = Example_Directory.get_next() the Example_Var will be “orange.png” the first time then “apple.png” the second etc, is it possible to get the path of the file the Example_Varis currently set to? Like getting “res://fruits/orange.png“ when Example_Var set to orange.png for instance so you can use it as the filepath for stuff like changing a texture.
Sorry if its a stupid question or i asked this wrong or smth, its my first time here.