GE Lua Documentation

Press F to search!

isProgramFocused

Definition


-- @/=[C]:-1
function isProgramFocused(...)

Callers

@/lua/ge/extensions/core/metrics.lua
        if not scenetree.MissionGroup then table.insert(managers, "FPS limiter (menu)") end
        if settings.getValue("fpsLimitBackgroundEnabled") and not Engine.isProgramFocused() then table.insert(managers, "FPS limiter (background)") end
      end