Skip to content

Timer

Generated

This page is auto-generated from psxsplash-main/src/luaapi.hh by scripts/py/gen_lua_api_docs.py. Edits won't survive the next build — fix the source comments instead.

1 entries, 1 with worked examples mined from godot-ps1/demo/scripts/ and the bundled templates.

Methods

Timer.GetFrameCount() -> number

Returns total frames since scene start

Example

-- before hiding. Otherwise just hide immediately.
local stayed = Timer.GetFrameCount() - enterTick

Source: godot-ps1/demo/scripts/checkered_ambient.lua line 29.