I've used this feature. When you click the pointer button, the "laser pointer" overlay appears in the middle of your screen. When you rotate your phone, it moves on the screen, presumably detecting using the gyroscope. So the way it works is by assuming you are pointing at the center of the screen when you first click (and then hold) the pointer button. It's not a bad assumption, it my experience it works pretty well.