Feeling a little brain dead this morning, but am trying to figure out if there is an easy way in SL2 to create an object that moves along a motion path when clicked, and then moves along the same motion path in reverse if clicked a second time, basically moving back to it's original position....
This may not work for you, but how about using a T/F variable that is toggled when the shape is clicked and signifies if the shape should go in one direction or the other. Based on the variable value you trigger one of two motion paths. See attached a quick example.
The biggest struggle I was having was attaching the second motion path... Kept trying to figure out how to attach the second motion path to the object, lol... Blonde moment I guess
Hi Michael - I'm also interested in achieving this effect, but when I downloaded the RightLeft zip file you attached here, I couldn't see a Storyline file?
This is brilliant. I'm glad that I found this. Thanks Micheal. One more question though...is there a way to ensure that your motion path is dead straight, like holding shift or something while you draw the path?
I added a button to control the action and if I click it too many times, the object actually moves up the screen while following the motion path.
I'm not sure if Michael is still subscribed to this thread, but I wanted to pop in and ask if you mean the object is moving upon repeating the the motion path during preview/publish?
If so, this is an issue that our QA Team is aware of, but I do not have an update to provide at this time.
I see how this could work with for linear paths, but is there a way to do a reverse motion on the same Freeform path or do I have to try and recreate the path?
Hi, Andrew and Gustavo -- If I am understanding your questions correctly, perhaps you might like to take a look at this thread for some ideas you can try.
I have done this and it is really effective, I have had problems that are apparently something that needs to be fixed with Storyline. If I set this up and preview it or publish it, the object that moves when I click the button, gradually works it's way up the screen. It doesn't seem to stay on the motion path, or the motion path itself moves.
I think it might be simpler if you could reverse the object on the same path instead of having to make another path both with relative start points. Is that possible?
Hi, Andrew -- Thanks so much for your response and for the additional details. It sounds to me like the issue you are having is a bug that has already been reported to our QA team for further investigation, so any additional information I am provided will be shared here in the thread as it becomes available.
Unfortunately, aside from the thread I have already shared, I do not know of any other options you could try, so perhaps others in the community will have some ideas to share.
You are also welcome to share any thoughts or suggestions for functionality you would like to see by submitting this form to our Product Development team. :)
Hi all! I can't figure out how to revert an object to the initial position after user clicks another object on the slide. See my project attached to understand what I mean.
When user clicks on book 1, I want book 1 to move out of the book case and open up a page with information. I also want book 1 to move back to the case when another book is clicked.
Hi Liliana! Hopefully your fellow community members will be able to pop in and assist you with your design. You may also find it beneficial to reach out in our Building Better Courses forum as that holds many design-related questions.
I see what people are wanting to do and I have been a little frustrated with the same thing. The issue with using relative start points is, you make the next point in a different place than where the object is actually going.
When developing in other software or code, I typically can put in the XY coordinates of where I want the object to go to next from where it's at. Regardless of where it's at. If you have multiple target points of where you want an object to move to, this can be very tedious trying to guess the distance and angle you have to set using relative start points.
Maybe this should be a feature request to be able to animate to specific XY coordinates or to a specific object from wherever the animated object currently is?
20 Replies
This may not work for you, but how about using a T/F variable that is toggled when the shape is clicked and signifies if the shape should go in one direction or the other. Based on the variable value you trigger one of two motion paths. See attached a quick example.
Very nice Michael, and much simpler than what I was trying to make it.
Thanks for sharing, much appreciated.
The biggest struggle I was having was attaching the second motion path... Kept trying to figure out how to attach the second motion path to the object, lol... Blonde moment I guess
Hi Michael - I'm also interested in achieving this effect, but when I downloaded the RightLeft zip file you attached here, I couldn't see a Storyline file?
Hi Ant, not sure why this comes up as a zip file. See reattached.
Thanks Michael!
This is brilliant. I'm glad that I found this. Thanks Micheal. One more question though...is there a way to ensure that your motion path is dead straight, like holding shift or something while you draw the path?
I added a button to control the action and if I click it too many times, the object actually moves up the screen while following the motion path.
Thanks in advance.
Hi Andrew!
I'm not sure if Michael is still subscribed to this thread, but I wanted to pop in and ask if you mean the object is moving upon repeating the the motion path during preview/publish?
If so, this is an issue that our QA Team is aware of, but I do not have an update to provide at this time.
Hi everyone,
I see how this could work with for linear paths, but is there a way to do a reverse motion on the same Freeform path or do I have to try and recreate the path?
Thank you
Hi Gustavo,
That is actually what I wanted to know from the beginning. I'll be interested to see the responses.
Hi, Andrew and Gustavo -- If I am understanding your questions correctly, perhaps you might like to take a look at this thread for some ideas you can try.
Hi Christie,
I have done this and it is really effective, I have had problems that are apparently something that needs to be fixed with Storyline. If I set this up and preview it or publish it, the object that moves when I click the button, gradually works it's way up the screen. It doesn't seem to stay on the motion path, or the motion path itself moves.
I think it might be simpler if you could reverse the object on the same path instead of having to make another path both with relative start points. Is that possible?
Thanks.
Hi, Andrew -- Thanks so much for your response and for the additional details. It sounds to me like the issue you are having is a bug that has already been reported to our QA team for further investigation, so any additional information I am provided will be shared here in the thread as it becomes available.
Unfortunately, aside from the thread I have already shared, I do not know of any other options you could try, so perhaps others in the community will have some ideas to share.
You are also welcome to share any thoughts or suggestions for functionality you would like to see by submitting this form to our Product Development team. :)
This is genius!! Spent two days trying to figure things out!! Thank you Community :)
thanks much for the motion path info - very helpful!
Glad this was able to assist you as well Jeannie :) Love to see the community working.
Hi all! I can't figure out how to revert an object to the initial position after user clicks another object on the slide. See my project attached to understand what I mean.
When user clicks on book 1, I want book 1 to move out of the book case and open up a page with information. I also want book 1 to move back to the case when another book is clicked.
Any idea how I can do this?
Thanks!
Hi Liliana! Hopefully your fellow community members will be able to pop in and assist you with your design. You may also find it beneficial to reach out in our Building Better Courses forum as that holds many design-related questions.
I see what people are wanting to do and I have been a little frustrated with the same thing. The issue with using relative start points is, you make the next point in a different place than where the object is actually going.
When developing in other software or code, I typically can put in the XY coordinates of where I want the object to go to next from where it's at. Regardless of where it's at. If you have multiple target points of where you want an object to move to, this can be very tedious trying to guess the distance and angle you have to set using relative start points.
Maybe this should be a feature request to be able to animate to specific XY coordinates or to a specific object from wherever the animated object currently is?
Hi Wes!
You are welcome to share your thoughts with our product development team here.
This discussion is closed. You can start a new discussion or contact Articulate Support.