0
votes

I'm creating aframe content/ components and I want to create a "hyperlink" to another website can I attach click event to <a-image> tags or do I use <a-link> and if so can it also be styled to your liking?

2

2 Answers

0
votes

You can navigate however you want visually (e.g., click a box, put a sphere on your head, touch a switch). Whenever you want the link to trigger, all you need to do is:

window.location.href = 'https://navigatetohere.com`;