motor.isDone()

What does the


motor.isDone()

command do? It isn’t in the VCS help page or anything.

If you give a smart motor a command to rotate for a certain amount of time, the .isdone command could be used like this


waitUntil(motorNameHere.isdone);

Awesome, that’s what hoped it did. Thanks!

welcome. I don’t use V5. I just did like 2 minutes of research. In your defence I had to use the Blockly docs, but the written code has the same commands.

1 Like