Change of State does not revert back

Nov 02, 2019

Hello,

 

Hope, you can help me with this question.

I have 2 objects: a polygon and a cube. The polygon has 2 states: Normal(Red) and Custom(Black). The cube also has two states: Normal(Blue) and Custom(Green).

I added the following triggers:

- when the mouse hovers over the cube, it changes color from Blue to Green.

- when the cube changes to Green color, the polygon changes from Red to Black.

- when the cube changes to Blue, the polygon should change to Red.  And this does not happen.

The 1-slide project is attached. Let me know if you know what is going on.

 

Thanks, Oleg

 

8 Replies
Ned Whiteley

Hi Oleg,

I have made a few changes to your file, which now make it work as you wanted it to.

The first thing I have done is to change your Custom state for the cube to a Hover state, which is one of the built-in states in Storyline. The advantage of this is that it does not require any triggers to activate it. You could still keep your original Custom state and associated trigger if you wish, but the other thing you need to do if you keep your original set up is to then select the "Restore previous state when the user hovers out" check box for your trigger:

The other change I have done is to change the trigger for the polygon to be activated by the user hovering over the cube as opposed to when the colour changes. You will note that I have also selected the "Restore previous state when the user hovers out". I have also removed the second trigger for the polygon as the colour will automatically change back when the user moves the cursor off the cube.

Oleg M

Hi Ned,

Thanks for looking at it. And for the detailed explanation. The solution totally makes sense. But it is a workaround.

However, I want to understand why the 1st example does not work. The change of state works one way: (Polygon changes from Red to Black) . But it never changes back to black. Even though the state of the cube is back to Blue. I wonder why?

Thanks again,

Oleg

Ned Whiteley

Hi Oleg,

Obviously the "Restore previous state when the user hovers out" option is required to be checked to ensure the cube reverts back to its original state when the mouse leave it, however I can see no reason why the polygon should not then change back to Normal once the cube has changed back.

Leslie McKerchie

Hi Oleg,

Thank you for sharing what you are running into as well as a sample project for us to take a look.

This is an issue that has been filed with our team and I'm going to include this conversation and your sample file in our report as we continue investigating.

I wanted to share some information on how we define bugs and how we tackle them when they occur.

Lauren Connelly

Hi all!

I'm happy to share that we aren't seeing this bug in Storyline 360 (Build 3.49.24347.0) where changing the state of the 2nd object to hidden when the mouse hovers over object 1 does not change back to normal even if you have enabled the "restore on mouse leave" option.

If you're still running into the snag, make sure you're using the latest version of Storyline 360. If you have additional questions, don't hesitate to reach out to us in this discussion or in a support case.