findSocket
findSocket(
entity,name):Object3D<Object3DEventMap> |null
The object on entity’s drawn body that name names: a
HumanoidSocket on any humanoid body, in the character’s own axes at
rest, turned with its bone; else the drawn model’s node of that name, in
its own axes; null where the body holds neither or is not drawn. On an
entity with no body view, such as a cart, a node under its drawn
object. As Roblox’s attachment names, Unity’s GetBoneTransform and
Godot’s BoneAttachment3D.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entity |
Entity |
name |
string |
Returns
Section titled “Returns”Object3D<Object3DEventMap> | null