Webview

self:is_overlay

Client

Retrieves whether the webview is rendered as an overlay

Syntax

local result = self:is_overlay()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if the webview is an overlay, false otherwise

Examples

Check whether a webview is an overlay
local entity = core.webview.create({1280, 720})

core.engine.print("info", "Overlay:", entity:is_overlay())

On this page