graphics.circle
Draw a screen-space circle outline.
Syntax
ue.graphics.circle(
x: number,
y: number,
radius: number,
color?: integer | table,
thickness?: number,
options?: table
)Parameters
| Parameter | Type | Description |
|---|---|---|
x, y | number | Circle center in screen pixels. |
radius | number | Radius in pixels. Range: 0–16,384. |
color | `integer | table?` |
thickness | number? | Outline thickness. Default: 1. Range: 0.1–64. |
options | table? | Supports layer = "foreground". |
Example
ue.graphics.circle(640, 360, 12, ue.graphics.color(255, 80, 80), 2)