Shop OBEX P1 Docs P2 Docs Learn Events
S3: "Drive to Location" block: Help says args are relative but seems absolute — Parallax Forums

S3: "Drive to Location" block: Help says args are relative but seems absolute

Does the help match the action on this block? Are the values entered for XY the absolute location to which the S3 moves or are the values the amount to change in each axis? Help (and block lettering) says "change in" but I'm interpreting this project to show are absolute.

blockly.parallax.com/blockly/projectlink?id=38939&key=ed1d19f4-a9b4-4f8f-aafe-3e60ffa7e679

From help:
The drive to block moves the scribbler to a new XY coordinate based on the X and Y changes entered. The Scribbler robot begins keeping track of where it is in an imaginary coordinate grid (where X is left/right, and Y is forward/backward relative to its starting position) when it begins its program.
...
The movement amounts entered into the block refer to how far the robot should move, not what coordinates to move to.
Sign In or Register to comment.