Garry's Mod Wiki

Tool:GetPos

  Vector Tool:GetPos( number id )

Description

Retrieves an vector previously stored using Tool:SetObject. See also Tool:GetLocalPos.

Arguments

1 number id
The id of the object which was set in Tool:SetObject.

Returns

1 Vector
Associated vector with given id. The vector is converted from Tool:GetLocalPos.