Forum Discussion
send to front of other object with click
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
- mahbag-e8b66d7eCommunity Member
????
- Jürgen_Schoene_Community Member
layer have a dynamic z-index - the latest opened layer is always on top
example
https://360.articulate.com/review/content/b8433e42-73c0-4fac-b95a-960665ce2278/review
- mahbag-e8b66d7eCommunity Member
Hello and thank you. I want a variable to add a number when I put two similar shapes on top of each other. It is not possible if the shapes are in several layers.- mahbag-e8b66d7eCommunity Member
Hi.i need javascript code for move object to front of other objects in a layer.
- WaltHamiltonSuper Hero
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?
- mahbag-e8b66d7eCommunity Member
Hello,It was an interesting solution, thank you. I want three shapes that are in one layer to be placed in front of the other objects when we click on each one. thanks
- NedimCommunity Member
Try that, see if it works. It's a JavaScript solution so it won't work in Preview.
- mahbag-e8b66d7eCommunity Member
Hello and thanks. Excellent.