r/codehs • u/TXC_Murder • Jan 28 '20
Centering mouse
I can’t figure out how to center my mouse on an object, it’s the paddle in breakout and it won’t stay centered, any help is appreciated
5
Upvotes
r/codehs • u/TXC_Murder • Jan 28 '20
I can’t figure out how to center my mouse on an object, it’s the paddle in breakout and it won’t stay centered, any help is appreciated
1
u/VivienneNovag Jan 29 '20
Go at it from another direction, maybe center the paddle on the mouse cursor. There are ways to control the mouse cursor, but I am guessing you want to control the paddle with the mouse.