Panel/DragHover

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Completed: Filled in description, args.)
Line 2: Line 2:
 
|Name=DragHover
 
|Name=DragHover
 
|Parent=Panel
 
|Parent=Panel
 +
|Description={{Internal}} Called by {{LibraryFunction|dragndrop|HoverThink}} to perform actions on an object that is dragged and hovered over another.
 
|Realm=Client
 
|Realm=Client
 
|IsClass=Yes
 
|IsClass=Yes
Line 10: Line 11:
 
|type=number
 
|type=number
 
|name=HoverTime
 
|name=HoverTime
 +
|desc=If this time is greater than 0.1, {{ClassFunction|Panel|DragHoverClick}}, passing it as an argument.
 
}}
 
}}

Revision as of 21:10, 10 December 2014

 Panel:DragHover( )

Description

This is an internal function or feature.
This means you will be able to use it, but you really shouldn't.
Called by dragndrop.HoverThink to perform actions on an object that is dragged and hovered over another.

Arguments

number HoverTime

If this time is greater than 0.1, Panel:DragHoverClick, passing it as an argument.
Personal tools
Navigation