What is "WorldRoot"?

Attempting to solve one of my problems with OverlapParams and I don’t really have any idea how to use it lol

Basically it says it’s a function of WorldRoot
I have no idea what that means lol what is WorldRoot

https://developer.roblox.com/en-us/api-reference/class/WorldRoot
It is a superclass of Workspace.

1 Like

ive looked at the api reference and that doesnt help me
what is a superclass
how do i reference it
can i reference it?
how do i use WorldRoot | Roblox Creator Documentation this thing it says its a function of worldroot but i have no idea what worldroot is or how to get it

A superclass is a class that another class inherits the behavior of. A Part and a WedgePart are both derived from the superclass BasePart. You might not fully understand this until you study OOP. Workspace is a WorldRoot though, and the specifics don’t matter in your case. Any time it says WorldRoot, you can use Workspace in your use-case.

8 Likes

what the hell
i swear to god ive tried game.Workspace:GetPartsBoundInRadius()
i swear
and it didnt work
and i just tried it again and it did
wth
i thought thats what the whole thing meant so when it didnt work i was confused
oh my christ

welp i dont have a problem anymore

5 Likes