I want to make an object move to (0,0). I am really new to greenfoot and i basically dont know anything about writing codes. As soon the object hits the end of the screen, on the left and right side, it needs to teleport to (0,0). When the teleporting object hits another object during the game, the game needs to freeze. After two seconds, the object needs to teleport to (0,0). Can anyone help?
I am trying to recreate the classic game pong. The object that needs to teleport is the ball. The objects that the bal can hit, are the wite bars on the side.

