Frame:SetLayer()

From Riftui Wiki

Jump to: navigation, search

Sets the layer position of the frame.

Contents

Signature

frame:SetLayer(layer)

Parameters

layer (number) - The new layer position for the frame.

Return Value

None

Example

local context = UI.CreateContext("SampleContext")
local frame = UI.CreateFrame("Frame", "SampleFrame", context)
-- Set Layer to 2 --
frame:SetLayer(2)
Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox