Removing margins from collisionPolygon2D

Godot Version

Godot 4

Question

Untitled
I need to remove the margins from this collisionPolygon2D (for code reasons), but when I try resizing the orange border the hitbox shrinks, and when I try to resize the hitbox the orange border moves.

Any help is appreciated.

I solved by changing the code to take care of the borders

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.