adding code to record and play back image and world point clicks