How to add objects to a new layer?

Basically it. Just forgot how to add objects to a new layer and kinda need some help with it. Grass takes up too much resources sometimes.

Press M and select the layer you want your selected object to be on.

Duhh, thank you very much :]