How Can I make it so a splash texture appears where the player clicks?

Hi, i’m trying to make a game in which the player can chop down trees but i want it so that when the player clicks on the tree it splashes a texture on to the tree texture to make it look like you have chopped it a little bit. this mechanic was used in rust when cutting down trees.

okay thanks but i did that and the image just followed the camera around but i need it to stay on the tree could you give some coding advice