diff --git a/public/index.html b/public/index.html
index 5287b2757919ee7a7c4002093a55110e25fdb51c..1f432d12746a63b8b61106b8ba1b5108f6908ef5 100644
--- a/public/index.html
+++ b/public/index.html
@@ -96,6 +96,16 @@ loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/sunflower/
flower = gltf.scene;
});
+
+session.addEventListener("select", (event) => {
+ if (flower) {
+ const clone = flower.clone();
+ clone.position.copy(reticle.position);
+ scene.add(clone);
+ }
+});
+
+
// Create a render loop that allows us to draw on the AR view.
const onXRFrame = (time, frame) => {