EditorShapes
EditorShapes is a small plugin for Godot 4.X that allows you to define shapes directly in the editor for drawing or logic purposes.
The main advantage of this plugin is that every node in Godot that allows you to define a shape and edit it by dragging its handles is either a physics-based node or a Control node that doesn't inherit from the Node2D hierarchy. This plugin adds that same functionality, with a Node2D based node that doesn't implement any physics behavior.
Sample project
If you want to test the plugin, there is a sample project to help you understand how it works. Clone the whole repository (by using git clone, downloading it from GitHub won't work) and you'll have access to the sample project:
git clone https://github.com/Xesa/editor-shapes
Full documentation
You can check the full documentation in the GitHub page.
Features
Works like a built-in editable shape
The plugin allows you to drag the shape from each corner and side. Holding Alt makes it extend in both directions. Holding Ctrl/Command keeps it square.
Snap to grid, customizable for each node
Set the snap grid size for each node, or share the same configuration between multiple nodes by using a shared resource.

Customize editor colors and make the shape visible at runtime
You can set custom colors for the shape's outline and handles in the editor. You can also make the shape visible at runtime, giving it a similar visual role to a ColorRect while keeping it within the Node2D hierarchy.

Create masks
Add a mask that makes the shape invisible within a defined area. A mask node doesn't necessarily need to be a child of the masked node; it can be placed anywhere in the scene tree.

Changelog for version v0.1.0
No changelog provided for this version.