Compass function in PowerPoint provides the information about current position of device.

You can just type this to some text field:

 

  • Compass.Heading

You phone now presents the orientation in degrees (of course, it is not available on PC – which usually has now compass sensor…).

This informations can be saved to database, for example with Patch function.