A Figma plugin that closes the distance between two paths so them touch, not just their bounding boxes.
When adjusting layers in Figma, the distance is calculated from their bounding boxes, not their actual shapes. This plugin bridges that gap by calculating the distance based on the vector paths themselves.
- Finds the outermost vertex of one path, calculates the intersection point on the other, and then closes the distance between them.
- Works horizontally or vertically, automatically detecting your intention based on the paths positions.
Note: Curved segments are not supported at this time.
- Select two vector paths that are flattened and have no stroke.
- Run the plugin:
Plugins → Just make them touch. - Your paths are now touching.
- You can select another pair of paths and click
Make it touchagain to adjust the spacing of more paths without reopening the plugin.
Report bugs by creating an issue.