Player movement with touch

i did player movement left and right with touch ,but player movement stuck sometimes.
https://launch.playcanvas.com/763628?debug=true
editor link:PlayCanvas | HTML5 Game Engine

i want better than this player movement , give me any suggestion.
thank you.

I have a movement script that you can use or tweak at to your interests if you want I use it to run how the player moves in my game matrexball