APointLight vs UPointLightComponent

Hi all,

I have an assignment to create a point light that flickers slowly at a constant rate. It will gradually get darker, and then it will gradually get brighter returning to its original brightness.

I tried creating a c++ class for APointLight however, I was unable to find a way to change the brightness or intensity of it. It seems like that is possible with the UPointLightComponent.

Just wondering what the main differences between the two are, they almost seem like they are the same thing, just not.