Forum Discussion

GilbertWalker-2's avatar
GilbertWalker-2
Community Member
2 years ago

Click through shapes on higher layers bug?

Sorry guys I must be missing something basic. 

I seem to be able to click THROUGH shapes that are on a higher layer. 

Here's my process:
1. I create a text entry box.
2. On a higher layer, I create a shape and position it above the textbox.

3. I make a trigger to show the higher layer on start. When I test in the export, this works fine and the shape is over the top. Great, I think, now the textbox is inaccessible... but no!

4. I can still click through the shape and type stuff into the text box!? What the?!


  • Gilbert,

    Make sure you have the highlighted option selected. That will stop this from happening.

  • Thanks for the reply Richard, but unfortunately this is not a solution for me. I still want to click on things in layer 1. The 'Prevent the user from clicking on the other layers' option simply makes it impossible to click on other layers which is not what I want. Instead, I want a shape on layer 2 to not be able to be clicked through - which strangely seems to be the default behaviour.

    This would allow me to 'lock off' certain parts of an interactive while still having other parts be accessible to learners etc. 


    • RichardWatson's avatar
      RichardWatson
      Super Hero

      Gilbert,

      Here is another approach you might use to accomplish this should it be necessary to complete a project you are working on in the meantime.

      Step 1:

      Base layer: On the base layer, create a transparent rectangle and place it over the text variable box. Next, set the initial state of the transparent rectangle to hidden.

      Step 2:

      Layer 1: Add a trigger to Set the state of the transparent rectangle to Normal when the timeline starts on this layer.

      I hope this helps. Perhaps someone else will chime in and provide additional insights into this behavior. Since variables are different than objects, there isn't an option to change the state of the text variable to disabled.

      Richard