So I have a StaticBody2D that contains different CollisionShape2D that I use as borders, and when ever I change the shape of one of them the the others change as well.
So how do I make them different sizes.
Thanks!
All Resources are shared by default and Shape2D is a Resource.
If you have just duplicated the CollisionShape2D node both nodes have the same Shape2D resource in use. So any change to the Shape2D applies to both nodes that make use of the same resource.
To break this link and sharing you need to make the Resource unique / duplicate it if you want to apply different sizes. You can also go in the Inspector Resource section of the Shape2D and enable “Local to Scene” as that will auto-duplicate the Resource on every new instance that is created.