Skip to content
Immediate drawingOverview

Paint.Clear

Clears a paint object's drawing state.

Details#

Unregisters every callback owned by this paint handle. It does not clear unrelated handles or destroy retained Drawing objects. Returns no values.

Examples#

Example

Luau
local paint = DrawingImmediate.GetPaint()
paint:Connect(function() end)
paint:Clear()