API:Class/Instance/FindFirstAncestor

FindFirstAncestor

Function of Object Icon.pngInstance
Ref<Instance> FindFirstAncestor (
    string name
)
Parameters:
  1. name

Returns: Ref<Instance>
Description: Returns the first ancestor whose Name is equal to name, or nil if none can be found.