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.

Syntax
Luau
DrawingImmediate.FilledCircle(
    position: Vector2,
    radius: number,
    color: Color3,
    opacity: number,
    numSides: number
) -> ()

Parameters

Function parameters
ParameterTypeDescription
positionVector2Center of the circle in screen pixels.
radiusnumberRadius in pixels.
colorColor3Color3 of the primitive or text.
opacitynumberOpacity from 0 (invisible) to 1 (opaque).
numSidesnumberNumber 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

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)
Kawaii documentation