Screen.getComponent

Gets a component from a layer. You msut cast to the original component type for it to be useful.

class Screen
final
getComponent
(
size_t index
,
string name
)

Parameters

name string

The name of the component to get.

Return Value

Type: Component

The component if found, null otherwise.

Meta