Moving Objects Between Overlapping Objects

Sep 19, 2022

Hello!

I'm building an activity where potential answers move on motion paths around the screen. The correct answer must be selected only after it overlaps a specific point on screen.

The issue I'm running into is the visual: I have a gradient object overlaying a video that has two "hoop" openings in it. I'd like the potential answers to travel between the hoops along their motion paths, starting behind the gradient, showing above the gradient, and then returning behind as it enters the other hoop and exits the screen.

I haven't been able to find much on this, leading me to believe it can't be done. I hope there's a fix! Please see the attached, and thank you much for any help in advance.

5 Replies
Walt Hamilton

I’m not in a position to be able to make a sample, but it ought to be relatively simple. The principle is that you need three copies of the gradient. The answer travels behind gradient 1 until it comes to the hoop, then in front of gradient 2 until it comes to the other hoop, then behind gradient 3. The difficult part (depending on how you have it set up), is getting the gradient to match. For example, if you can use gradient 2 as the slide background, then you can make the other shapes just the right size, fill them with background, and place them on the sides. Otherwise, you can make one big gradient, export it as a graphic, import it, duplicate it, and crop the copies to the the size you need.  You can use scrolling panels to make things appear and disappear in the middle of the screen, but the edges have to be straight, and I don’t know if you can use intersect triggers, so that probably won’t work for you.

Va Eagle

Thanks for your reply! I got myself to the point where I broke the gradient up into several pieces which almost fixes the issue, but there's some additional work that needs to be done in cleaning up the cropped sections to be an exact match. I've got a dedicated graphics person on my team so I'll be getting with them to work some magic.

It would be great for Storyline to have a trigger like, "Bring [X Object] to [Front] of [Y Object] when [X Object] intersects [Y Section]", but my case is probably so rarely wanted that it wouldn't ever happen!

Va Eagle

Hello,

I'm back and stumped once again, this time on triggers.

I had to migrate the separate sections of the activity to individual slides rather than use layers. The mass of needed triggers caused it to be unstable.

My latest issue is this:

On the last slide, I'd like it to only show the GREAT JOB! flash if learners select at least two out of three correct choices. It should only show the NOT QUITE! flash if learners select two or more incorrect choices. No matter what kind of triggers I put together, it flashes both at the same time.

A bonus would be if it could also work depending on what the learner chooses for the last question before the final slide. I foresee learners being confused if they get the first two questions or the last question right, but still get a false flash.

Thank you all in advance!