how to control where grass is placed

Im trying to put grass some areas and none in others is there a setting for this?ive tried to find a button or setting but so far havnt. Do i have to generate grass on separate planes and place them under the ground?

There is something called weight paint that is perfect for you. I’m not sure how to use it but look it up on google.

alright ill try that, wouldnt have expected weight painting to the answer lol.

thank you