Skip to content

raylib.IsFileHidden

JoeStrout edited this page Oct 17, 2026 · 1 revision

Check if file path (file or directory) is hidden by OS

Parameters

Parameter Default Value Note
filePath

Return value

Condition Return Value
(always) number

Notes

On macOS and Linux, a file is hidden if its name starts with a dot (. and .. excepted). On Windows, the hidden file attribute is checked.

Example

for name in raylib.LoadDirectoryFiles(".")
    if not raylib.IsFileHidden(name) then print name
end for

Clone this wiki locally