Identifier "USpotLightComponent" is undefined

I’m trying to create a flashlight for my player, but it won’t let me create a variable for it.

1 Like

Figured it out. I needed to have Engine.h included in my class.