Threejs Interaction

Three.js interaction - raycasting, controls, mouse/touch input, object selection. Use when handling user input, implementing click detection, adding camera controls, or creating interactive 3D experiences.

FrancoStino Updated 63 repo stars

File contents

Three.js Interaction

Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

When to Use

  • You need user interaction inside a Three.js scene.
  • The task involves raycasting, object picking, pointer handling, touch input, or camera controls.
  • You are building an interactive 3D experience rather than a passive render.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

FrancoStino/opencode-skills-collection/tree/main/bundled-skills/threejs-interaction commit 132c78e936

Frequently asked questions

npx skillmds@latest add francostino/threejs-interaction