How to get angle of rotation of object

So let’s see that code!