Skip to content

JS Docs

Jeremiah edited this page Feb 17, 2022 · 2 revisions

These are docs to be used when using the custom code block (part of Snap Hack) in Blockly.

Motion

Blocks in the motion category.

moveForwardCommand(duration, botspeed, moveforward)

Makes the bot move forward.

duration

Time. Not in seconds, but not in milliseconds, defaults to 10.

botspeed

How fast it goes. High or Low.

moveforward

The SC Controller to move. Defaults to (allCircuits).

Clone this wiki locally