All videos · All how-to videos

How to move an object with the keyboard in R3

0:45 · 2026-10-19

In the R3 editor: add a Cube, a Code component and a Help component. Add two lines to the script's update so the arrow keys move the cube, press Run, write the controls into the Help, then Start Code, click the scene and hold an arrow key. H shows the controls. Narration: AI voice.

Watch on YouTube

Chapters

  1. 0:00 Create: add a Cube
  2. 0:06 Add a Code and a Help component
  3. 0:11 Open the script and press Edit Code
  4. 0:16 Two lines: the arrow keys move the cube
  5. 0:24 Run, and close the editor
  6. 0:27 Write the controls into the Help
  7. 0:32 Start Code and click the scene
  8. 0:35 Hold an arrow key
  9. 0:39 Press H for the controls

Transcript

0:02 Open the menu, then Create, and add a Cube.

0:06 Add a Code component, and a Help component.

0:11 In the Inspector, open the new script, and press Edit Code.

0:16 In update, add two lines, so the arrow keys move the cube.

0:24 Press Run, and close the editor.

0:27 In the Help, write down the controls.

0:32 Start Code at the top, and click the scene.

0:35 Hold an arrow key, and the cube moves.

0:39 Press H to show the controls.