Lock Screen mock up help?

ok so im making a lock screen mock app and when I drag the arrow button it doesnt collide with my walls ive set and both the arrow button and walls have the collison set for each other and its not working everytime i use it it passes through the walls i have the arrow button constrained to the mouse x axis but i cant figure out why it wont just stop when hitting a wall or such... hope you have an idea thanks
Answers