Minecraft Wiki
(Created page with "{{:commands/infobox |turn | }} Rotate Agent in the specified direction by 90 degrees. ;Syntax : <code>turn <''direction: string''></code> ;Arguments : ''direction: string...")
 
(Fixed typo in infobox)
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
  +
{{Outdated}}
{{:commands/infobox
 
  +
{{exclusive|bedrock|education}}
|turn
 
  +
{{Infobox command
|
 
 
|name=turn
  +
|hidden=1
  +
|oplevel=0
 
}}
 
}}
   
Rotate Agent in the specified direction by 90 degrees.
+
Rotates an Agent in a specified direction by 90 degrees.
   
;Syntax
+
==Syntax==
   
: <code>turn <''direction: string''></code>
+
: <code>turn <direction: string></code>
   
;Arguments
+
==Arguments==
   
: ''direction: string''
+
<code>direction: string</code>
:: Specifies the direction of Agent to rotate.
+
: Specifies the direction of Agent to rotate.
:: Must be one of:
+
: Must be one of:
::* <code>left</code> to rotate Agent leftward.
+
:* <code>left</code> to rotate Agent leftward.
::* <code>right</code> to rotate Agent rightward.
+
:* <code>right</code> to rotate Agent rightward.
   
;Result
+
==Result==
   
: Always success, Agent rotate in the specified direction as expected.
+
Always success; Agent is rotated in the specified direction as expected.
   
  +
== History ==
  +
{{History|education}}
  +
{{History||?|Added {{cd|/turn}}.}}
  +
{{History|foot}}
   
  +
{{Commands}}
<!-- please retain double newline above for section differentiation -->
 
  +
{{-}}
 
  +
[[zh:命令/turn]]

Revision as of 10:21, 15 April 2021

This page describes content that exists only in outdated versions of Minecraft. 
This feature used to be in the game but has since been removed.
Information icon
This feature is exclusive to Bedrock Edition and Minecraft Education. 

Rotates an Agent in a specified direction by 90 degrees.

Syntax

turn <direction: string>

Arguments

direction: string

Specifies the direction of Agent to rotate.
Must be one of:
  • left to rotate Agent leftward.
  • right to rotate Agent rightward.

Result

Always success; Agent is rotated in the specified direction as expected.

History

Education Edition
?Added /turn.