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.