Mouse Input on a Custom VGUI Element

How do I add click (or DoClick) functionality to a custom panel?

I’ve tried,

[lua]
//inside PANEL:Init()
self:SetMouseInputEnabled(true)

function PANEL:DoClick()
print(“poop”)
end
[/lua]

and the panel never prints…