HandleUtility.AddControl Manual     Reference     Scripting  
Scripting > Editor Classes > HandleUtility
HandleUtility.AddControl

static function AddControl (controlId : int, distance : float) : void

Description

Record a distance measurement from a handle.

All handles call this with their controlID during layout, then use nearestControl to check if they got the mouseDown.