79672194

Date: 2025-06-19 14:12:19
Score: 1
Natty:
Report link

To get a list of files in a directory, you need to use DirAccess.get_files(). The result is a PackedStringArray sorted alphabetically, and you can access its first element to read that file via FileAccess.open().

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: liggiorgio