How to check if an object has any children?

Hello developers! So I basiclly just want to know if an object / instance has any children, it can be anything. I know about :FindFirstChild, but I need to specify what kind of child I want in this event, so it isn’t what I want.

1 Like
if #object:GetChildren() ~= 0 then
-- code
end
3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.