Please understand before reading on that I'm not a tween expert so hopefully what I'm describing is understandable. I did simple test before writing
but I'm no expert.
The size X is for the width of sprite
The size Y is for the height of the sprite.
The values used in the tween function are the start size and the end size.
So for the size X you would set the start width and the end width
so for the size Y you would set the start height and the end height.
Just remember that these start and end value are for the tween container.
They do not affect the actual sprite width and height except for what is visually displayed.
So if you do a GetSpriteWidth() and GetSpriteHeight() after the tween you will get the size of the sprite when it was created.
Usually you want the sprite start width and sprite start height to be what your initial sprites width and height and either decrease or increase the end width and end height values.
But you may also want to call SetSpriteWidth and SetSpriteHeight after the tween is done to set the actual spritesize to the end width and end height size or GetSpriteWidth and GetSpriteHeight
will return the initial sprite size and that may cause problems in the future.