Get Selected Bones
Posted: Mon Oct 19, 2015 3:11 pm
How does one get the selected bones? My guy can get selected Layers but he can't figure out how to get the selected bones.
Thx.
Thx.
Code: Select all
Layer = moho.layer
for i in Layer:Skeleton:CountBones()-1 do
Bone = Layer:Skeleton:Bone(i)
if Bone.fSelected then
--DO CODE HERE
end
end