using Godot; public partial class RectOutline : Node2D { [Export] public Vector2 Size = new Vector2(64, 64); public override void _Draw() { // Draw an outline only (transparent fill) DrawRect(new Rect2(Vector2.Zero, Size), new Color(0.6f, 0.6f, 0.6f, 0.9f), filled: false, width: 2f); } public override void _Ready() => QueueRedraw(); }