osition = new spine.Vector2(mousePosition.x, mousePosition.y);
                            this.selectedBone.parent.worldToLocal(position);
                            this.selectedBone.x = position.x;
                            this.selectedBone.y = position.y;
                        } else {
                            // If the dragged bone has no parent, it's the root bone and we can simply set its
                            // position to the mouse world position.
                            this.se