Right By Degs
Turns right by a specified number of degrees.

Description
The Right By Degs block orientates the agent in Spaceland to the right of its original heading by the inputted number of degrees during each StarLogo clock tick. This is a code block part of the Movement drawer.
Usage
The Right By Degs block orientates the agent in Spaceland to the right of its original heading by the inputted number of degrees during each StarLogo clock tick.
Syntax
Inputs in this block:
- A number (degrees to turn right)
Example
The Right By Degs block is commonly used for creating random movement patterns when combined with forward movement blocks, allowing agents to wander throughout Spaceland.
Notes
The Right By Degs block rotates agents clockwise when given positive values. Negative values will cause the agent to turn left instead.
Related Blocks
- forward - Move forward specified steps
- backwards - Move backwards specified steps
- left by degs - Rotate agent left
- up - Move up specified steps
- down - Move down specified steps
- teleport to - Instantly move to coordinates