Welcome to the forums @daniel_!
You probably need to bind and unbind the node from the selected bone in the Skeleton using the bind_child_node_to_bone and unbind_child_node_to_bone functions. That should make the node follow along or not, as needed. Do note that these functions are deprecated and likely will be removed/replaced in future versions of Godot. You may want to look into making your own, custom BoneAttachment node using GDScript if your project relies on reparenting BoneAttachment nodes (though in future versions of Godot, there may not be issues when reparenting BoneAttachment nodes).
Also:
This discussion was caught in the moderation queue since you have not confirmed your account yet.
Upon creating your account you should have received an account verification email. The confirmation email may have been incorrectly flagged as spam, so please also check your spam filter. Without confirming your account, future posts may also be caught in the moderation queue. You can resend a confirmation email when you log into your account if you cannot find the first verification email.
If you need any help, please let us know! You can find ways to contact forum staff on the Contact page. Thanks! :smile: