Rendering the part of an object that is intersecting with another object 2D

Hello, I am trying to make it so that when the player shoots with his paintball gun a paint splatter appears on what the bullet hits. However, I’m not sure how I could render just the part of the paint splatter that is touching/intersecting with the object it hit.

Here is an image example:

One solution would be to use sprite masks Unity - Manual: Sprite Masks