can i have a bearing datafield?

i like to have a datafield with the bearing to the next route point. 

i use 

    var activityinfo = Activity.getActivityInfo();
       bearingP =activityinfo.bearing;
is the bearing automatic calculated when i tart navigation on the fenix 6 or do i have to load the course in the code?
And how  do i do this?
Merry Christmas
Peter