I started working on a breakout style game, with the bat controlled by the mouse. The game is supposed to start with the ball on top of the bat, centered, so the player can choose from which position to let it go. I set the bat to follow the mouse's horizontal position and had it bound to the layout. To make the ball always stay in the same position relative to the bat, I made it follow the bat's horizontal position. My events look like this:
Yet, if you actually playtest the game, you'll see that the ball seems to be following the mouse instead of the bat. if you make the bat reach the end of the layout and stop due to being bound, the ball continues moving.
What did I do wrong here? How can I make the ball behave as I want it to?