How to check files in folder

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

Hello everyone, im making 2d level editor for my game,now I want to make it so that if there are files (.tscn .txt) with the same name in the folder, the game will create a certain scene, how can I do this?

:bust_in_silhouette: Reply From: exuin

Use a directory node.