self:get_z_index

Client

Retrieves the current stacking order of the webview


Syntax

local z_index = self:get_z_index()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
intz_indexCurrent stacking order of the webview

Examples

Get the z-index of a webview
local entity = core.webview.create()

core.engine.print("info", "Webview z-index:", entity:get_z_index())

On this page