Rinse rice thoroughly. Add water to rice along with a pinch of salt and a knotted pandan leaf. Cook over high heat. Once it starts to boil, reduce heat to the lowest. Let it simmers for 5 minutes.
Once the rice is cooked, use a fork or a potato masher to mash the rice until the grains are no longer obvious.
Fluff rice and allow it to cook for another 10 minutes. If it is still uncooked, add some water and mix well. Cook for another 5 to 10 minutes. Once rice is fully cooked, cover the pot and remove from stove.
Shape and compress the rice in a square or rectangular pan using cling wrap. Refrigerate or leave at room temperature.