Skip to main content

Get The Hidden Tool

Use [Drive for] and [Turn for] blocks to code the VR Robot to drive to the hidden tool, and use the Electromagnet to pick it up.

  • Select the Castle Crasher + Playground.
  • Code the VR Robot to drive to the hidden tool without crashing the surrounding enclosure walls of the Castle or touching the rocks.
  • Code the VR Robot to boost the Electromagnet to pick up the hidden tool.

Helpful Hints

  • Use the energize Magnet block from the Magnet category and select the boost to attract an object to the Electromagnet.

    VEXcode Energize electromagnet block that reads 'energize Magnet to boost'.

    • Matching Python command:

      magnet.energize(BOOST)