Panel/Distance

From Garry's Mod
Jump to: navigation, search
 Panel:Distance( )

Description

Returns the linear distance from the centre of this panel object and another.

Arguments

Panel tgtPanel

The target object with which to compare position.

Returns

number

The linear (straight-line) distance between the centres of the two objects.
Personal tools
Navigation