Entity/GetPos

From Garry's Mod
Revision as of 12:12, 27 February 2013 by Facepunch bot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 Entity:GetPos( )

Contents

Description

Gets the position of entity in world.

Returns

Vector

pos

Examples

Example

Demonstrates the use of this function clientside.

print( LocalPlayer():GetPos() )

Output:

Something like "529.396179 -779.646423 -110.303543".
Personal tools
Navigation