The logic component is a gameplay component that runs a series of actions when triggered by an event.