Use sphere/dome as button

Hi,

I’ve created a photodome & sphere using babylon js - is it possible to open a webpage when a user clicks on it so it essentially acts like a button?

var dome = new BABYLON.PhotoDome(“testdome”, “textures/earth.jpg”, {resolution: 32, size: 3.5}, scene);

Hey you want to make the photodome clickable, right?
https://www.babylonjs-playground.com/#14KRGG#238

1 Like

Thanks that’s perfect!