The moment a strong aftershock hit the Indonesian island of Lombok has apparently been captured on camera.

Indonesia’s geological agency said the quake had a magnitude of 6.2 and was shallow, with a depth of 12km, and centred on the northwest of the island.

The US Geological Survey measured the aftershock at magnitude 5.9.

Filmed by a local resident, the earthquake took place on Thursday and is the third big quake to hit the island in little over a week.

The footage shows officials and reporters attending an event near a hospital when the quake begins.

People are seen running, screaming and crouching on the ground in response to the tremor.

Powerful earthquake rocks Indonesia's Lombok island Show all 55 1 /55 Powerful earthquake rocks Indonesia's Lombok island Powerful earthquake rocks Indonesia's Lombok island Rescue workers extract a woman, who survived after being trapped in rubble since the earthquake in Lombok, Indonesia Antara Foto/Ahmad Subaid/Reuters Powerful earthquake rocks Indonesia's Lombok island A man inspects the ruins of houses AP Powerful earthquake rocks Indonesia's Lombok island A ten-month old baby girl survivor, Refi, is aided by volunteer doctors at an emergency hospital in Tanjung EPA Powerful earthquake rocks Indonesia's Lombok island A man riding a motorcycle passes by a damaged house at Sira village in northern Lombok AFP/Getty Powerful earthquake rocks Indonesia's Lombok island Rescuers with sniffer dogs search for victims at a mosque damaged by the earthquake AP Powerful earthquake rocks Indonesia's Lombok island Indonesian search and rescue teams look for victims at a collapsed mosque Getty Powerful earthquake rocks Indonesia's Lombok island Search and rescue personnel look for victims AFP/Getty Powerful earthquake rocks Indonesia's Lombok island Indonesians carry an elderly woman at a temporary shelter in Pemenang Getty Powerful earthquake rocks Indonesia's Lombok island A woman prays near her temporary tent near Tanjung hospital Reuters Powerful earthquake rocks Indonesia's Lombok island Search and rescue personnel look for victims AFP/Getty Powerful earthquake rocks Indonesia's Lombok island Rescue teams search for victims in the rubble caused by an earthquake at a Mosque in North Lombok AP Powerful earthquake rocks Indonesia's Lombok island Tourists sleep while waiting to depart from the Praya Lombok International Airport on the West Nusa Tenggara AFP/Getty Powerful earthquake rocks Indonesia's Lombok island A doctor and paramedics give medical treatment to a man injured in the earthquake AP Powerful earthquake rocks Indonesia's Lombok island Rescue teams search for victims AP Powerful earthquake rocks Indonesia's Lombok island Tourists sleep on the floor as they wait to depart from the Praya Lombok International Airport AFP/Getty Powerful earthquake rocks Indonesia's Lombok island Indonesian search and rescue personnel work on a collapsed mosque in Pemenang, North Lombok AFP/Getty Powerful earthquake rocks Indonesia's Lombok island An elderly man rests in a makeshift hospital after surviving a major earthquake in Kayangan on Lombok AP Powerful earthquake rocks Indonesia's Lombok island Tourists affected by a strong earthquake line up on a beach as they wait to be evacuated on Gili Trawangan AP Powerful earthquake rocks Indonesia's Lombok island Indonesian rescuers search for victims under the ruin of a collapsed house after an earthquake struck in North Lombok, Indonesia EPA Powerful earthquake rocks Indonesia's Lombok island A father accompanies his injured child outside of Tanjung hospital, Reuters Powerful earthquake rocks Indonesia's Lombok island A damaged in Pemenang, North Lombok AFP/Getty Powerful earthquake rocks Indonesia's Lombok island Makeshift tents are erected to be used as a temporary shelter for those affected AP Powerful earthquake rocks Indonesia's Lombok island Usable items are salvaged from a home destroyed in an earthquake in North Lombok AP Powerful earthquake rocks Indonesia's Lombok island According to media reports, a 7.0 magnitude quake hit Indonesia's island of Lombok on 5 August, killing at least 91 people AP Powerful earthquake rocks Indonesia's Lombok island Hospital patients are moved to an emergency tent outside of a hospital building in Denpasar, Bali EPA Powerful earthquake rocks Indonesia's Lombok island epa06930137 Hospital patients are moved to an emergency tent outside of a hospital building after an earthquake was felt in Denpasar, Bali, Indonesia, 06 August 2018. According to media reports, a 7.0 magnitude earthquake hit Indonesia's island of Lombok on 05 August killing at least 82 people. EPA/MADE NAGI MADE NAGI EPA Powerful earthquake rocks Indonesia's Lombok island Map locating the earthquake in Lombok Reuters Powerful earthquake rocks Indonesia's Lombok island Indonesian soldiers carry the body of an earthquake victim Reuters Powerful earthquake rocks Indonesia's Lombok island Evacuation from Gili Trawangan in Indonesia James Kelsall/PA Powerful earthquake rocks Indonesia's Lombok island Workers cleanup parts of a shopping mall building which collapsed after an earthquake, in Denpasar, Bali EPA Powerful earthquake rocks Indonesia's Lombok island Recovered items sit next to destroyed buildings in Pemenang in northern Lombok AFP/Getty Powerful earthquake rocks Indonesia's Lombok island Hundreds of people attempting to leave Gili Trawangan AFP/Getty Powerful earthquake rocks Indonesia's Lombok island Indonesian local residents stay outside of their collapsed houses EPA Powerful earthquake rocks Indonesia's Lombok island Rescue personnel stands next to a motorcycle that fell down at a mall in Bali's capital Denpasar AFP/Getty Powerful earthquake rocks Indonesia's Lombok island Hospital staff treat patients outside a hospital after a major earthquake rocked Indonesia's Lombok island, in Mataram AFP/Getty Powerful earthquake rocks Indonesia's Lombok island People affected by the earthquake rest at a temporary shelter in Lombok AP Powerful earthquake rocks Indonesia's Lombok island A man removes debris outside a mall in Bali's capital Denpasar AFP/Getty Powerful earthquake rocks Indonesia's Lombok island People react following an earthquake in Ampenan district, Mataram, Lombok Reuters Powerful earthquake rocks Indonesia's Lombok island A hospital patient is moved outside of the hospital building in Denpasar, Bali EPA Powerful earthquake rocks Indonesia's Lombok island A policeman gestures as he walks next to damaged bikes and debris at a mall in Bali's capital Denpasar AFP/Getty Powerful earthquake rocks Indonesia's Lombok island People next to an ambulance near the Golden Palace Hotel after an earthquake hit Lombok Reuters Powerful earthquake rocks Indonesia's Lombok island Residents stand next to bikes and debris at a mall in Bali's capital Denpasar AFP/Getty Powerful earthquake rocks Indonesia's Lombok island Indonesian soldiers tend to a woman injured in the earthquake at a makeshift hospital in Lombok AP Powerful earthquake rocks Indonesia's Lombok island Tourists wait outside a hotel in Denpasar AFP/Getty Powerful earthquake rocks Indonesia's Lombok island People clean up debris following a strong earthquake on nearby Lombok island, in Denpasar Reuters Powerful earthquake rocks Indonesia's Lombok island An ambulance near Golden Palace Hotel after an earthquake hit Lombok Island Reuters Powerful earthquake rocks Indonesia's Lombok island Indonesians stand on road outside a mall in Bali's capital Denpasar AFP/Getty Powerful earthquake rocks Indonesia's Lombok island Security and mall personnel walk over debris AFP/Getty Powerful earthquake rocks Indonesia's Lombok island Residents wait as they evacuate to higher ground AP Powerful earthquake rocks Indonesia's Lombok island An ambulance rushes out of the hospital AFP/Getty Powerful earthquake rocks Indonesia's Lombok island Hospital patients and relatives wait outside in Mataram AFP/Getty Powerful earthquake rocks Indonesia's Lombok island Hospital patients and relatives stand outside after being evacuated in Mataram AFP/Getty Powerful earthquake rocks Indonesia's Lombok island A hospital patient is moved outside EPA Powerful earthquake rocks Indonesia's Lombok island Residents evacuate by motorcycle Reuters Powerful earthquake rocks Indonesia's Lombok island A hospital patient is moved outside EPA

Thousands have been left homeless on the island and are in desperate need of clean water, food, medicine and shelter.