The code in the attached screen shot may help. It sets up an animated sprite, then moves it around using values from STICK as mentioned above. Sorry no space to add bounds checking in a single screen full of code.