A 30-year-old woman had the impressive presence of mind to snap a photo of a man who sexually assaulted her in a Queens elevator last Thursday.

The victim entered the elevator of an unknown Elmhurst building around 1:30 p.m., with the suspect allegedly trailing behind her. Once the doors closed, police said he approached her from behind and rubbed his crotch on her.

He was wearing white pants, a light-colored shirt and a green hat.

She snapped the adjacent photo as she exited the elevator, which means police stand a better shot at catching the guy.

If you know him or have seen him around, give the NYPD Crime Stoppers tipline a call at (800) 577-TIPS.