self:is_transparent

Client

Retrieves whether the webview background is transparent


Syntax

local result = self:is_transparent()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if the webview is transparent, false otherwise

Examples

Check if a webview has a transparent background
local entity = core.webview.create()

core.engine.print("info", "Webview transparent:", entity:is_transparent())

On this page