You can create a function “Get All Bones” that returns an array of all bones. I created it on the fly and haven’t tested it yet, so there may be some bugs, but it does the job.