Skip to content
DrawingOverview

isrenderobj

Identifies drawing objects.

Details#

Checks whether a value is a recognized Drawing object. This is not a check for an Instance, visibility on screen or whether a drawing is currently inside the viewport.

Examples#

Example

Luau
local line = Drawing.new("Line")
print(isrenderobj(line)) -- true
line:Remove()