Drawing element over all active panels?

I’m working on a grid inventory and I just can’t seem to figure out how to draw a SpawnIcon over any other active panels. I tried MoveToFront() and all that. The method I’m using is having the icon move to the mouse position.

**[Lua/Classes/Panel/SetDrawOnTop

http://gmodwiki.net/favicon.ico](http://gmodwiki.net/Lua/Classes/Panel/SetDrawOnTop)**

Takes a boolean.

Thanks for that, but the odd part is, is that it draws over things that are unparented it seems. This is what happens:

http://cloud-2.steampowered.com/ugc/454034157304460354/887BB31F703366FA577918943E98F35BADDCCC3B/

It draws over the close button, which is unparented but it doesn’t seem to draw over the DPanelList. Here’s my code if it’s necessary:

[lua]
Elements Code:
function invItem:DoClick()
self.ghost = vgui.Create(“cItem”)
self.ghost:SetSize(self:GetSize())
self.ghost:SetModel(self.Model)
self:SetDrawOnTop(true)
end

function invItem:Think()
if self.ghost then
local x,y = gui.MousePos()
self.ghost:SetPos(x,y)
end
if !self then
self.ghost:Remove()
end
end
[/lua]

** Wait! ** I see what I did wrong, I did self:SetDrawOnTop(true), should’ve been self.ghost:SetDrawOnTop(true).