DrawingImmediate. FilledCircle Synchronous
Draw a solid circular marker for the current frame. It works well for a point of interest or a status dot that changes position or color.
Luau
DrawingImmediate.FilledCircle(
position: Vector2,
radius: number,
color: Color3,
opacity: number,
numSides: number
) -> ()Parameters
| Parameter | Type | Description |
|---|---|---|
position | Vector2 | Center of the circle in screen pixels. |
radius | number | Radius in pixels. |
color | Color3 | Color3 of the primitive or text. |
opacity | number | Opacity from 0 (invisible) to 1 (opaque). |
numSides | number | Number of sides used to approximate the circle. |
Returns
()No values.
Usage notes
Immediate primitives last for one paint cycle. Submit the call again from a GetPaint listener to keep it visible; there is no object handle to update or remove.
Example
Luau
local paint = DrawingImmediate.GetPaint()
local connection = paint:Connect(function()
DrawingImmediate.FilledCircle(Vector2.new(100, 100), 12, Color3.fromRGB(80, 220, 140), 0.9, 32)
end)
task.delay(3, function() connection:Disconnect() end)