slot.bone¶
Overview:¶
The bone object to which this slot is attached. You can access bone properties like bone.x, bone.rotation, etc., to see how the bone transforms this slot.
Example:¶
local slot = hero.slots[2]
local parentBone = slot.bone
print("Slot belongs to bone:", parentBone.name)