Page 1 of 1

How to close a screen tint

Posted: Tue Jul 10, 2018 6:11 am
by JMonaco
My goal is to have a screen tint (50% alpha rectangle) disappear, along with a welcome text message when a user clicks anywhere on the pano. I searched for "tint" in the forum, but couldn't find an answer. Am sure I missed it somewhere. I thought that for the rectangle, having an action of source=mouse click, action=hide element, and target=$self would work, but the rectangle remains visible with no change. How does one achieve my goal? (Sorry if it's been asked before). Thanks, John

Re: How to close a screen tint

Posted: Tue Jul 10, 2018 11:34 am
by Hopki
Hi John,
The message would have:
mouse click, hide element, self
mouse click, hide element, tint (rectangle)

Then the tint would have:
mouse click, hide element, self
mouse click, hide element, message

So it does not matter which element you click both will hide.
Regards,
Hopki

Re: How to close a screen tint

Posted: Wed Jul 11, 2018 1:37 am
by JMonaco
Also learned that I should not have had permeable checked.

Re: How to close a screen tint

Posted: Wed Jul 11, 2018 10:38 am
by Hopki
Yep, that would do it. :D
Cheers,
Hopki