send to front of other object with click

Oct 07, 2023

Hello. I have made a puzzle that some of the images are overlapping, I want each image that I clicked to be moved in front of (send to front)the other objects. Thank you

8 Replies
Walt Hamilton

You have made three requests:

First post - Click object and have it move in front of other objects

Second post - Add to a variable when you drag a shape onto a similar shape

Third post - Javascript to move an object (have you tried motion paths? They are easier than JS)

Here is a sample that meets the second post. It seems to me to be a combination of what your picture and story are asking.

If you still want the other two requests, perhaps you can describe them in more detail: What does it look like in the beginning? What action does the learner take? What happens after that action?