Skip to content
ConcordConcordConcord

Entity:get

Gets a Component from the Entity.

← Entity

Gets a Component from the Entity.

component = entity:get( name )
Name Type Description
name string Name of the ComponentClass to get
Name Type Description
component Component|nil The Component, or nil if the Entity does not have it