selectedBone = bone;
                                break;
                            }
                        }
                    },
                    dragged: (x, y) => {
                        // If no bone was selected, bail.
                        if (this.selectedBone == null) return;

                        // Calculate the mouse position in the coordinate space of the camera, aka world space.
                        // The skeleton and its bones live in this coordinate space.
             