When I start the game, the paddle goes invisible for some reason. I checked its Z position (-12) and it’s adequately far enough from the background and everything to be visible, and it wasn’t having this problem until I used the paddle script.
Another thing is that it’s off-center. The sprite’s pivot is set to ‘center’, so shouldn’t it be right in the middle? A lot of stuff went haywire when I set up this script.
One more thing to note is the paddle still has collision, and the X coords show that I’m moving it around and won’t go past 0.5 or 15.5, so that part seems to work.