Skip to content

GetWebSurfacePage

Which surface page of the interface a web surface shows.

GetWebSurfacePage(id)
Parameter Type
id number the surface

the page’s name in ui.toml, or nil when id is no surface

if GetWebSurfacePage(id) == "board" then
SendPlayerWebSurfaceMessage(pid, id, { notices = notices })
end

GetWebSurfaces · CreateWebSurface · the Web surfaces group of the index