### [Question] getyaw()

Posted:

**Thu Jul 11, 2019 02:21**I'm pretty sure player:getyaw() has been removed.

So what is the new method?

I tried

But as I rotate I just get weird values in order like this:

And

I get values like this:

What do I do to get the proper 360 or -180 to 180 player yaw?

If not how to I convert 1-7 into 360 rotation?

So what is the new method?

I tried

- Code: Select all
`player:get_look_yaw()`

But as I rotate I just get weird values in order like this:

- Code: Select all
`7, 6, 5, 4, 3, 2, 1, 7 ect`

And

- Code: Select all
`player:get_look_dir().x`

I get values like this:

- Code: Select all
`0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1, 0 then does the same thing but with negative values then comes back`

What do I do to get the proper 360 or -180 to 180 player yaw?

If not how to I convert 1-7 into 360 rotation?