EAST FLATBUSH, Brooklyn (PIX11) — A 12-year-old boy was killed Thursday night in a “senseless” shooting that also injured a woman, police said.

They were both in a parked vehicle along with an 8-year-old girl near Linden Boulevard and East 56th Street when someone opened fire, police said. All three are related and from the area. They’d pulled over to eat something, police said based on the preliminary investigation.

The boy died of multiple gunshot wounds, officials said. The 20-year-old woman, who’d been in the driver’s seat, was shot three times. She was in surgery late Thursday and was not likely to die. The 8-year-old girl was uninjured.

Police officials said they’re not sure what the motive might have been or if the victims were targeted. They pleaded with the public for help. Officials noted they were looking into two black sedans seen in the area: one went down East 58th Street and the other went down Linden Boulevard.

Mayor Eric Adams was briefed about the shooting, a spokesperson said. He headed to the scene on Thursday night. Adams pledged to catch the shooter.

“We’re going to do our job. We need everyone to help us end this senseless violence,” he said.

Police asked people to avoid the area because of the investigation. They advised residents to expect emergency vehicles and delays in the surrounding area.

Submit tips to police by calling Crime Stoppers at 1-800-577-TIPS (8477), visiting crimestoppers.nypdonline.org, downloading the NYPD Crime Stoppers mobile app, or texting 274637 (CRIMES) then entering TIP577. Spanish-speaking callers are asked to dial 1-888-57-PISTA (74782).