Description: ```
Returns the heading of the entity in degrees. Also know as the "Yaw" of an entity.
### Parameters
- **`entity`** (`Entity`) — The entity to get the heading from.
### Examples
```lua
local heading = GetEntityHeading(PlayerPedId())
print(heading)
using static CitizenFX.Core.Native.API;
// ...
float heading = GetEntityHeading(PlayerPedId());
// or the preferred use of C# wrapper
float heading = Game.PlayerPed.Heading;
Debug.WriteLine($"{heading}");