Fear progress bar raise when its dark and after jumpscares

Hello guys , i am currently making a horror game where i want to add a fear bar , which is raising over the time , when the amount of darkness is more and while our player listens strange sounds or maybe after jumpscares. Is this kind of stuff possible and if yes how should i make it happen? Thank you !!

You should use UMG’s progress bar and every time that a strange sound is played or when the player is in the dark you increase a variable in you player BP that controls the UMG progress bar.

Thanks for the help , sounds logical , but how should i make blueprint that understands that the darkness is much?

found this post: How To get light level at the player position - Rendering - Epic Developer Community Forums