isChild

@MainThread
fun isChild(child: Entity): Boolean

Checks if the specified entity is a child of the current entity.

Return

true if the specified entity is a child of the current entity; false otherwise.

Parameters

child

The entity to check.