Best way to place a clickable 2D image in a 3D scene?

I’m working with A-Frame in the 8th Wall Cloud Editor. I want to place a clickable 2D image in my 3D scene.

What is the best approach to achieve this?

AI suggested two methods:
1. Using with a class and handling interactions via JavaScript.
2. Using a raycaster for interaction detection.

Which method would be better in this case?

Check out this sample project: :slight_smile:

You can also consider simply adding your image as a texture on a plane in the scene, and add the look-at component to the plane so it’s always rotated towards the camera:

1 Like