_x and _y

o.k i have a problem. for the breakout game i am making i have it so if you hit a wall, things turn true and false and im having a problem making changing the values and such

i attached a file so that you could look
. please help