GetWebSurfacePage
Which surface page of the interface a web surface shows.
Syntax
Section titled “Syntax”GetWebSurfacePage(id)| Parameter | Type | |
|---|---|---|
id |
number | the surface |
Returns
Section titled “Returns”the page’s name in ui.toml, or nil when id is no surface
Example
Section titled “Example”if GetWebSurfacePage(id) == "board" then SendPlayerWebSurfaceMessage(pid, id, { notices = notices })endSee also
Section titled “See also”GetWebSurfaces · CreateWebSurface · the Web surfaces group of the index
