Succession to the Malaysian thrones
Malaysia practises an elective monarchy, so there is no distinct line of succession to the Malaysian thrones. In the event where the current seat of the throne falls vacant (due to death, incapacitation or resignation), the Conference of Rulers meet to elect the new Yang di-Pertuan Agong (monarch) from among the rulers of the nine Malay states.
Source: Wikipedia — Succession to the Malaysian thrones (CC BY-SA 4.0)