Garry's Mod Wiki

PANEL:OnDrop

Panel PANEL:OnDrop()

Description

We're being dropped on something We can create a new panel here and return it, so that instead of dropping us - it drops the new panel instead! We remain where we are!

Only works for panels derived from DDragBase.

Returns

1 Panel
The panel to drop instead of us. By default you should return self.

Page Links


Special Pages


Wikis

?

Render Time: 27ms

DB GetPage 3
Generate Html 1
SaveChanges (1) 8
Render Body 0
Render Sidebar 12