Noob: basic first game, "Pong" ball respawns bigger? help plz :)

right so i’m really new to all this and decided to make something very simple and work my way up to make the game I really want to so I decided that “Pong” would be the best for practice.

now ive got so far that I actually have a game I can play.
(player’s) red paddle v’s (AI’s) Blue paddle
score board and a ball.

everything works fine except when someone wins lol the ball hits the dead zone and respawns in the correct place and is still working fine to play again but is 2 times as long on the X axis (so now I have a rectangle ball not a square ball) but I can still play and if ball respawns again it then stays the same size as that rectangle…

any help would be greatly appreciated if you need my scripts let me know as I said I’m new and to make this game I followed a youtuber and I am not familiar with C#

Thanks Q

Your scale is changing, either in the scene or on the prefab. What is the scale of the prefab?

hello thanks for replying
the Ball object’s scale in the inspection view is
X=4.5 Y=1.5 Z=1.5

I checked the prefabs and in the folder the ball’s picture is like the rectangle I see when the ball re spawns not the square shape it starts as. I had a look in GIMP to see if it is still saved as a Square and it is so I’m still lost but I’m new so I’m sure it’ll be easy when I know better lol.

can anyone help me with this issue?

In 2D the scale of your ball is determined by the “X” and “Y” scale values. Increasing X will make it larger along the horizontal axis, increasing Y will make it larger along the vertical. If X and Y are the same value, your ball will always be a square. If you make them different, your ball will be larger in one direction than the other.