Garry's Mod Wiki

Panel:Distance

number Panel:Distance( Panel tgtPanel )

Description

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

Arguments

1 Panel tgtPanel
The target object with which to compare position.

Returns

1 number
The linear (straight-line) distance between the centres of the two objects.

Page Links


Special Pages


Wikis

?

Render Time: 42ms

Session 0
DB GetPage 3
Generate Html 5
SaveChanges 20
Render Body 0
Render Sidebar 12