Garry's Mod Wiki

Tool:GetBone

  number Tool:GetBone( number id )

Description

Retrieves a physics bone number previously stored using Tool:SetObject.

Arguments

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

Returns

1 number
Associated physics bone with given id.