- Edited
grimm_ my collisionshape2d doesn't follow the animation.
My understanding that an AnimatedSprite2D is simply a series of images that are displayed. The engine doesn't know what's inside the images, and you can't make anything change based on that.
If you want to animate the CollisionShape2D's properties, you have to use an AnimationPlayer and Animation that changes those properties.
You could use the AnimatedSprite2D's signals, such as frame_changed, to perform actions.