Quick question about heading

if I have a sprite on a canvas that is moving based on my own movement as reported by the location sensor, is there a simple way to make the sprite's heading be in the direction of travel?

I guess you need the Orientation sensor and rotate the canvas coordinates based on its result

I builded this app to find the heading based on the compass if available and based on the location history if the compass is not available, .

Waar_is_de_Eiffeltoren.aia (63.8 KB)