Stage.FindComponentOfType

Switch to Manual
public T FindComponentOfType ();

Returns

T This returns the object that matches the specified type. It returns null if no object matches the type.

Description

Returns the first active loaded object of the given type.