Garry's Mod Wiki

Revision Difference

Tool:GetLocalPos#511921

<function name="GetLocalPos" parent="Tool" type="classfunc">⤶ <description>⤶ Retrieves an local vector previously stored using <page>Tool:SetObject</page>.⤶ See also <page>Tool:GetPos</page>.⤶ </description>⤶ <realm>Shared</realm>⤶ <file line="76">gamemode/sandbox/entities/weapons/gmod_tool/object.lua</file>⤶ <args>⤶ <arg name="id" type="number">The id of the object which was set in &lt;page&gt;Tool:SetObject&lt;/page&gt;.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="Vector">Associated local vector with given id.</ret>⤶ </rets>⤶ </function>⤶ ⤶