The code tags you used were not correct. Try using [code][/code] to preserve the indentation
The script you showed only moves the marker with keypresses. The ball can be linked to the marker and they will move together. In order to move the ball seperately you would have to define some keys that translate the ball just as its done for the marker
|