Add a teaspoon of ghee in a nonstick pan, add besan flour and roast it till a nice aroma comes say for 3-4 minutes. Then sieve it once so that the flour is fine without any lumps. Now in a bowl, add 3/4 cup ghee with roasted besan flour and mix well.
The ghee besan mixture will be slightly in pouring consistency. Set aside for 15 minutes. Meanwhile grease a plate with little ghee and set aside. Now in a nonstick pan add sugar and water, in medium flame, bring it to a boil and check for one-string consistency - If you take the sugar syrup between the thumb and the index finger a single string will form that is the correct consistency.
Now add the besan ghee mixture to the sugar syrup. Now add the remaining 1/4 cup ghee in intervals to avoid drying and mix well. Keep stirring continuously.
Now keep the flame in low and keep mixing, add little ghee. Can you see in the below pictures it will first stick while scrapping with the ladle.
At one stage, it will come as a ball without sticking at all. The mixture will not be sticky anymore. At this stage switch off and pour it in the ghee greased plate. Don't need to flatten it, it will spread beautifully by itself. Cut it into squares/diamonds as per your wish while its hot and enjoy your mysore pak. I poured it in a big plate so my slices were thin as I wanted them that way. You can select the plate accordingly. Be very careful in checking the final consistency else your mysore pak will not be soft.
The slices is purely your choice you can either make it thin like this or pour it in a smaller plate to thick slices like in sweet shops, either way its good.