We've split up the commands, scripting and mods, and add ons category! Please be sure you get your thread in the right place.

0

Detect the angle the player is looking

1 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 0
    Registered User commented
    Comment actions Permalink

    If i understand you right, you can just use this:

    /data get entity @s Rotation

    /data get entity @s Rotation[0] and /data get entity @s Rotation[1]