class_name BrassStuds extends Control ## Quattro borchie decorative agli angoli del controllo. func _ready() -> void: mouse_filter = Control.MOUSE_FILTER_IGNORE queue_redraw() func _draw() -> void: var positions := [Vector2(22, 22), Vector2(size.x - 22, 22), Vector2(22, size.y - 22), Vector2(size.x - 22, size.y - 22)] for position in positions: draw_circle(position + Vector2(1.5, 2.5), 8.0, Color(0.12, 0.05, 0.02, 0.45)) draw_circle(position, 8.0, Color("#b17b24")) draw_circle(position - Vector2(2, 2), 4.5, CircusTheme.BRASS_LIGHT) draw_line(position - Vector2(3, 0), position + Vector2(3, 0), Color("#765018"), 1.5, true)