Skip to content

raylib.IsFileHidden

JoeStrout edited this page Nov 16, 2026 · 2 revisions

Check if file path (file or directory) is hidden by OS. Not supported on web

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