I had experienced this before and was looking for information about it, which eventually led me to the doctor's office. I did the right thing because I didn't hesitate. I suggest you do the same. I was thinking like you - why am I seeing flashes of light in the corner of my eye? Then I read the article https://myvisioncare.org/blog/seeing-flashing-lights-in-the-corner-of-your-eye-causes-and-when-should-you-seek-help and realized the reason. This phenomenon is caused by several factors such as eye fatigue or excessive eye strain. One common cause of flashes is vitreous vibration, which can occur with age, but sometimes it can be a signal of more serious problems such as retinal detachment. I recommend you read the detailed information on this in the article I shared with you. I hope it will help you.