|
Post by AxonMega on Jul 14, 2017 21:52:33 GMT
All Instance types will inherit these methods unless they are filtered. They are not yet enabled.
1. Variant<Instance, nil>FindFirstAncestor(string name)
Returns the first ancestor it finds whose Name is equal to name.
2. Variant<Instance, nil>FindFirstAncestorOfClass(string className)
Returns the first ancestor it finds whose ClassName is equal to className.
3. Variant<Instance, nil>FindFirstAncestorWhichIsA(string className)
Returns the first ancestor it finds which inherits from the class of the given name.
4. Variant<Instance, nil>FindFirstChildWhichIsA(string className, bool recursive = false)
Returns the first child it finds which inherits from the class of the given name. If recursive is true, then it will search through all descendants and not just children.
|
|
lae
Active Member
Veteran
Posts: 27
ROBLOX Username: LaeMVP
|
Post by lae on Jul 14, 2017 22:03:00 GMT
woo
|
|
|
Post by madscientist on Jul 21, 2017 17:31:08 GMT
niCe, it's always fun when ROBLOX adds extra quality-of-life stuff to the API.
|
|