Garry's Mod Wiki

PANEL:DragHoverClick

  PANEL:DragHoverClick( number hoverTime )

Description

Called when an object is dragged and hovered over this panel for 0.1 seconds.

This is used by DPropertySheet and DTree, for example to open a tab or expand a node when an object is hovered over it.

Arguments

1 number hoverTime
The time the object was hovered over this panel.