Skip to main content

Object Interaction

Use the common select, touch, grab, move, and release hooks with an interactive object. The cube's color reflects its current interaction state (idle yellow, ray-selected blue, and direct-touched green).

Desktop Controls (Hands Mode)​

  • Move Hand: Use W, A, S, D to move forward, left, backward, and right.
  • Elevate Hand: Use Q and E to move down and up.
  • Switch Active Hand: Press T to toggle between the left and right hand.
  • Interact / Pinch: Left-click or press Space to pinch, grab, and move the object.
  • Rotate Camera: Right-click and drag the mouse.

XR Controls​

  • Direct Touch / Grab: Reach out with your hand to touch or grab the cube.
  • Distant Manipulation: Point and ray-pinch to select, move, or rotate the cube from a distance.
main.js