I want to get people's bones, the bones by giving the coordinates and rotation to control the action figures. But I do not know how to get the instance of each bone, and Transform by code

I want to get people’s bones, the bones by giving the coordinates and rotation to control the action figures. But I do not know how to get the instance of each bone, and Transform by code.