Pong game

Hi there,

I’ve used the tutorial on this site to create a pong game. However, when I place the game on an existing page the functions on this page are unusable until the game is over. Does anyone know how to restrict the pong game movements solely to the box in which it is displayed?

Any help would be much appreciated. Thanks