How to get tool angle

Hi!
I want to get the horisontal angle that the end effector(tool0) has contra the base coordinate system(wobj0) in a specific robtarget.
Is there any good way to get this angle?

BR Kristoffer

CRobT gets the position, which includes the angle.