A 13-year-old boy was killed in Queens after the scooter he was riding on swerved to avoid an opening car door, but then collided with a truck, sending him under the rear of the vehicle, police said.

The victim, who has not yet been identified, was the passenger on a scooter being driven by another 13-year-old in Flushing around 12:30 p.m. Monday, according to police. The teen boys were near 162nd Street and 45th Avenue as they were about to pass a parked car, but the driver of that car opened then opened the door.

Surveillance video showed the black SUV pull into a parking spot, then the driver went to get out. The teens swerved to avoid the opening door, but then lost control of the moped and collided with the side of the truck heading south on 162nd Street, police said. Both teens fell off, with the passenger falling right under a rear wheel of the truck.

Both the driver and the passenger of the moped were taken to New York-Presbyterian Hospital, where the passenger was pronounced dead on arrival. The moped driver was treated for injuries that were not life-threatening.

Surveillance video showed him walking in the aftermath of the crash, and went over to check on his friend who lay dead in the street.

The drivers of the truck and the parked vehicle remained at the scene, police said. Police did not believe there was any criminality involved. It was not clear how the pair of 13-year-old boys were able to get behind the wheel of a moped.

An investigation is ongoing.