self:set_z_index
Client
Sets the stacking order of the webview
Syntax
local status = self:set_z_index(
value
)Parameters
| Type | Name | Description |
|---|---|---|
int | value | Stacking order to set Silently clamped to 0–10000 (values above are reserved for engine UI like the console) |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = core.webview.create()
-- Move webview above other webviews
entity:set_z_index(100)