Skip to content

raylib.TakeScreenshot

JoeStrout edited this page Oct 17, 2026 · 3 revisions

Takes a screenshot of current screen

Parameters

Parameter Default Value Note
fileName

Return value

None.

Notes

Example

if raylib.IsKeyPressed(raylib.KEY_F12) then
    raylib.TakeScreenshot "screenshot.png"
end if

Clone this wiki locally