I really confuse about handle the movement. If i want to mve per block (per 10 pixel), somehow it read input 2 or 3 times (althought I press it and release really fast), so it moves 3 block instead of 1. Any suggestion to handle the movement? All I want is like pressing direction key in text box, first press make it move once, and if still pressed, it will moved rapidly in a customizable speed. Thanks
Here a sample code
