If you have fresh pandan leaves, wash and cut them into small pieces.
Blend the pandan leaves with a little water to make a thick paste.
Strain the paste through a fine sieve or cheesecloth to extract the juice. You need about 2 cups of pandanus juice.
In a small saucepan, combine the agar-agar powder and water. Stir to dissolve and let it sit for a few minutes.
Heat the mixture over medium heat, stirring constantly until it comes to a boil. Continue to boil for about 1-2 minutes until the agar-agar is completely dissolved.
In a separate bowl, mix the pandanus juice, coconut milk, and sugar until the sugar is dissolved.
Add the agar-agar mixture to the pandanus and coconut mixture. Stir well to combine.
Pour the mixture into a mold or individual serving dishes.
Allow it to cool to room temperature, then refrigerate for at least 2-3 hours, or until set.
Once the jelly is set, unmold it (if using a large mold) and cut into pieces if desired.
Enjoy your meal!