isParent

@MainThread
fun isParent(parent: Entity): Boolean

Checks if the specified entity is the parent of the current entity.

Return

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

Parameters

parent

The entity to check.