getOrNull

Gets a component or null if the entity doesn't have it.