How do I show an overlay based on a condition?

I have a variable that is set to 1 or 0 depending on a condition. I would like to show an overlay, when the the variable is 1 and not show if the variable is 0. Does anybody have an idea how do this? Any hints are greatly appreciated. Thanks!


Please sign in to leave a comment.