Movement Problems

Hello, I'm a new user.
I created my right and left buttons to make my character move, but when I release the button it stops accelerating, but it still moves. Anybody knows what should I do? I created X and Y attributes and then when pressed, change attribute x to 1, then when button is released change attribute to 0. Then I put in my actor that should move, a accelerate attribute when moveX is = 1, and accelerate = 0 when moveX= 0. I've tried to put some change velocity = 0, but still moves!
Thanks!
I created my right and left buttons to make my character move, but when I release the button it stops accelerating, but it still moves. Anybody knows what should I do? I created X and Y attributes and then when pressed, change attribute x to 1, then when button is released change attribute to 0. Then I put in my actor that should move, a accelerate attribute when moveX is = 1, and accelerate = 0 when moveX= 0. I've tried to put some change velocity = 0, but still moves!
Thanks!
Comments
_________________________________________________
Full Game Creation Service
1 On 1 Project Help