How to get the data of minimap arrow

Hello,

I would like to be able to retrieve the arrow data (orientation). I’ve looked in the native fivem but I can’t find anything, so I don’t know if it’s possible :/.

I would like to create a ui interface to display the direction.

Probably related: GenerateDirectionsToCoord - FiveM Natives @ Cfx.re Docs

Thanks ! i will try