Check if hotspot is visible

  • Hi all,
    i would like to know how check if a hotspot is visible when I navigate around my panorama.
    I'm trying using:


    Code
    hotspot[namehotspot].sprite.visible


    it works but it isn't accurate. for example it becomes true when the hotspot isn't yet on the screen.

    Is this the right way or should I use something else?

    Thanks!

    Edipan

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!