I looked at this post construct.net/en/forum/construct-2/how-do-i-18/object-visible-inside-another-130338. but I tried it and it did not work
Develop games in your browser. Powerful, performant & highly capable.
Maybe you can do this:
construct.net/en/forum/construct-3/how-do-i-8/check-object-inside-another-137719
And set visibility in the action.