Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What is FindFirstChildOfClass/ Find First Child Of Class?

Asked by 7 years ago
local className = {"Part", "UnionOperation", "Model"}
local ds = game.Workspace:FindFirstChildOfClass(className)

I don't know how to use it.

1 answer

Log in to vote
1
Answered by 7 years ago
Edited 7 years ago

It's the same as :FindFirstChild(), but instead of searching for a child with a defined name, it searches for a child of a defined class.

Here's the wiki page: Banana

Ad

Answer this question