Hover and click trigger to show layer

Hello,

Forgive me if this has been answered, but I could not find a solution for my problem: I have a series of buttons (on the left side of the screen), each linked to its own image that would appear on the right side of the screen; each image is on its own layer - if I create a trigger for the image to appear during a HOVER over a button, it would work; conversely, if I create a trigger for the image to appear after a CLICK, again, it would appear - however, I cannot get the trigger to incorporate both (when I click, the image would disappear and the mouse would no longer hover over the button, as it is checked as a condition in the HOVER trigger).  Thank you.

When the user hovers over Nature Button

-Show layer Nature (Hide layer when the user hovers out)

When the user clicks Nature Button

-Show layer Nature

Luis Kaj

6 Replies
Walt Hamilton

You say:

 the mouse would no longer hover over the button, as it is checked as a condition in the HOVER trigger).

The only way for the mouse to no longer hover over the picture is for the learner to physically move it, or something to appear between them. Once the layer disappears, the mouse is hovering over the object.

On the other hand, if this represents your actual triggers:

When the user hovers over Nature Button

-Show layer Nature (Hide layer when the user hovers out)

When the user clicks Nature Button

-Show layer Nature

What is going to happen is that the hover will show the layer. If there is nothing on the layer to disrupt the mouse-picture connection, the layer will stay visible. When the learner clicks, nothing will appear to happen, as the layer is already showing.

Not sure why you want to do this, but it will probably only function the way you describe it if something malfunctions. The hover will always come first and will show the layer, so clicking has no visible effect. Moving off the picture will hide the layer, but after moving off, you can't click it.

If I have misunderstood your question, perhaps you can clarify by attaching your .story file here.