Many ways to do this. You can change sprite size on every tick, for example:
Set size to max(1, self.width-1) , max(1, self.height-1)
or
Set size to lerp(self.width, 1, dt) , lerp(self.height, 1, dt)
Or use LiteTween plugin if you need nice easing effects.