@tool
extends Sprite2D

# Helper script to create a simple rectangle sprite at runtime

func _ready():
	if texture == null:
		var image = Image.create(64, 64, false, Image.FORMAT_RGBA8)
		
		for x in range(64):
			for y in range(64):
				image.set_pixel(x, y, Color.WHITE)
		
		texture = ImageTexture.create_from_image(image)

