Description Usage Arguments Examples
Use a positive angle value to rotate to the left. Use a negative angle to rotate to the right. The player does not turn in the game; rather, the heading for subsequent movement commands is rotated.
1 | turnLeft(player_id, angle = 90)
|
player_id |
An integer with the player id |
angle |
The number of degrees to rotate left |
1 2 3 4 | ## Not run:
turnLeft(myid)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.