Sis forStroke

Photo of someone stroking a dog
You stroke something when you run your hand along it firmly in one direction. If you move it around in lots of different directions, you would be rubbing instead.