add

abstract fun <T : Actor> add(actor: T): KNode<T>

Return

Node instance containing the actor.

Parameters

actor

will be placed in a Node inside this widget.