How to make an object pulse on click?

Hello, I have an object in my game and want to make it so that it “pulses” by shrinking a set amount and then going back, kind of like in the Cookie Clicker browser game. How do I do that?

hi i think the best and fast way to do this is by Animaiting your object as u like then when u click on the object u can play the animaition once ;