How to use several colliders in the same object?


I would like to implement a petting mechanic similar to this but I can’t find any relevant info online:

So dragging the mouse over different parts of the pet’s body will have different effects. My question is how can unity detect which parts of the pet is the player touching using mouse drag? Do I have to use several colliders on the same game object or is there any easier way?


Well, you usually would use several gameobjects which with its own colliders to represent the different parts.