Hi,
Is there a way to click an object to pop-up an external URL (web page) in a lightbox, not in a new page?
If possible, can you show me how? I don’t do scripting, just 3d modeling.
Thank you.
Hi,
Is there a way to click an object to pop-up an external URL (web page) in a lightbox, not in a new page?
If possible, can you show me how? I don’t do scripting, just 3d modeling.
Thank you.
Hi @Philip_Fong and welcome,
For executing an action when clicking an object check this tutorial:
https://developer.playcanvas.com/en/tutorials/ui-elements-buttons/
To open an external url at the same tab you can do this:
window.location.href = "http://example.com";
Thank you, I shall take a look if I understand how to do it.