Cinema 4D Help

How do I select parts of a single object and put material only on the selected area?

As far as I remember you drag the material on? I’m not too sure though, there should be a tutorial somewhere

I have a selected area on the shape and I drag the material on but it does it to the whole object.