Entity:has
Returns true if the Entity has a Component.
Returns true if the Entity has a Component.
has = entity:has( name )Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
name |
string | Name of the ComponentClass to check |
Returns
Section titled “Returns”| Name | Type | Description |
|---|---|---|
has |
boolean |