Preparing search index...
    • Retrieves the first Element instance found among the ScriptComponents attached to the given SceneObject.

      Parameters

      • root: SceneObject

        The root SceneObject to search for an Element component.

      Returns Element

      The first Element found, or null if none is present.