removeChild

@MainThread
fun removeChild(child: Entity): Boolean

Removes a child entity from the current entity.

Return

true if the removal succeeds; false otherwise.

Parameters

child

The child entity to remove.