aframe-react.
I want to create a list of boxes and display them on the aframe scene, and I want to put a click event on the boxes.
Problem is that, I want the boxes to react differently to the click event.
How can I implement this? Should I give each box an id and match the event.target.id to get the clicked box and make it react accordingly?
Thanks 🙏
sounds like you answered your own question
Обсуждают сегодня