Skip to content
ConcordConcordConcord

Entity:has

Returns true if the Entity has a Component.

← Entity

Returns true if the Entity has a Component.

has = entity:has( name )
Name Type Description
name string Name of the ComponentClass to check
Name Type Description
has boolean