Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
how to change z-index? — Gideros Forum

how to change z-index?

local w = Pixel.new(0x2AFF00, 1, 600, 300)
local w2 = Pixel.new(0xF6FF00, 1, 600, 300)
w2:setPosition(100,100)
stage:addChild(w)
stage:addChild(w2)

i want the green one on top.
i find setZ() but it can not work.


Comments

Sign In or Register to comment.