I wear my glasses on all rides - been wearing glasses since I was 6 years old & I'm blind as a bat without 'em, LOL!.
Only three - Velocicoaster, Incredible Hulk & Rip Ride Rockit - allow nothing in pockets/carried on except your lanyard (yes, glasses are ok!) - they all have metal detectors.
Other rides will allow a small three prong fanny pack - that's what I used & was fine on all others.
ETA: Hats will have to come off or may be lost on several rides, too. My husband usually just tucks it under his leg or sits on it.