Change object order in single layer?

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
ChaseNJersey
Posts: 15
Joined: Sun Dec 04, 2011 11:05 pm

Change object order in single layer?

Post by ChaseNJersey »

In other programs if I am building something on a single layer, I can just right click and move an object in front of or behind an object on that layer. I have only had ASP for a few days but I am going nuts because I can't find an answer.

For example: If I draw two squares on one layer, but I want to move the first square I drew in front of the second one how do I do that? I noticed that I can move the objects layer order and z access per clicking on the layer itself, but that doesn't allow me to still order objects on each single layer, any ideas?
jonbo
Posts: 896
Joined: Thu Apr 08, 2010 2:53 am

Post by jonbo »

Use the shape select tool to select the shape you want to move and then use the up/down arrow keys on your keyboard to move the shape up or down in the order. You can't animate this process which is why you have layer ordering.
User avatar
funksmaname
Posts: 3174
Joined: Tue May 29, 2007 11:31 am
Location: New Zealand

Post by funksmaname »

Z is only applied to a layer, not the vector contents of it. But each shape has a stacking order, which can be manipulated. perhaps watch my tutorial from the footer of this thread.

there is a script that allows you to animate shape order stacking but it's only available on the vip section of animatorsforum which you can only gain access to after making 50 worthwhile posts...
User avatar
Víctor Paredes
Site Admin
Posts: 5814
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

funksmaname wrote:there is a script that allows you to animate shape order stacking but it's only available on the vip section of animatorsforum which you can only gain access to after making 50 worthwhile posts...
Rasheed created an script to do the same thing several years ago, even before you could animate the layer order. The vector layer must be inside a bone layer, and each shape has a bone layer. Depending of the position of each bone on X, it defined the layer order.
I used it a lot in that days.
Image Image Image Image Image Image
Moho co-owner

Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
ChaseNJersey
Posts: 15
Joined: Sun Dec 04, 2011 11:05 pm

Post by ChaseNJersey »

Thank you all so much, selecting and using the arrow key worked... I just had to hold it down for a few seconds and then it came to the front. Thanks again!!!
User avatar
Víctor Paredes
Site Admin
Posts: 5814
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

ChaseNJersey wrote:Thank you all so much, selecting and using the arrow key worked... I just had to hold it down for a few seconds and then it came to the front. Thanks again!!!
If you make shift+up or down, the shape will move to the top or to the back.
Image Image Image Image Image Image
Moho co-owner

Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
User avatar
funksmaname
Posts: 3174
Joined: Tue May 29, 2007 11:31 am
Location: New Zealand

Post by funksmaname »

The vector layer must be inside a bone layer, and each shape has a bone layer.
I don't know if you've tried Synthsin's script but its way easier and more intuitive - you literally use the normal arrow keys to reorder anything and keyframes are placed on a complimentary switch layer. These keys can then be moved and deleted as well... it's really amazing.
jurjen
Posts: 20
Joined: Fri Jan 27, 2006 1:21 pm

Post by jurjen »

It should be made possible to animate the shape stock order as it so usefull.
How hard can it be?
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Post by Genete »

selgin wrote:
funksmaname wrote:there is a script that allows you to animate shape order stacking but it's only available on the vip section of animatorsforum which you can only gain access to after making 50 worthwhile posts...
Rasheed created an script to do the same thing several years ago, even before you could animate the layer order. The vector layer must be inside a bone layer, and each shape has a bone layer. Depending of the position of each bone on X, it defined the layer order.
I used it a lot in that days.
Hi selgin,
maybe are you refereing to my script: ANIMATED SORT SHAPES BASED ON BONES POSITION?

-G
User avatar
Víctor Paredes
Site Admin
Posts: 5814
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

Genete wrote:Hi selgin,
maybe are you refereing to my script: ANIMATED SORT SHAPES BASED ON BONES POSITION?
Oh, you are right. I was confused with flipbybones script. That was the Rasheed's one and it changed the layer order.
Image Image Image Image Image Image
Moho co-owner

Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
jurjen
Posts: 20
Joined: Fri Jan 27, 2006 1:21 pm

Post by jurjen »

funksmaname wrote: there is a script that allows you to animate shape order stacking but it's only available on the vip section of animatorsforum which you can only gain access to after making 50 worthwhile posts...
really?! is that the script that I have been waiting for since the first version of moho?
come on please share it with us. what script are you talking about?
:P
User avatar
funksmaname
Posts: 3174
Joined: Tue May 29, 2007 11:31 am
Location: New Zealand

Post by funksmaname »

jurjen wrote:
funksmaname wrote: there is a script that allows you to animate shape order stacking but it's only available on the vip section of animatorsforum which you can only gain access to after making 50 worthwhile posts...
really?! is that the script that I have been waiting for since the first version of moho?
come on please share it with us. what script are you talking about?
:P
It is by Synthsin, and is a mod on the stock select shape tool. It's really great, but no, I can't share it. Go to www.animatorsforum.com and get involved - soon enough you will have access to it.

Bear in mind that the 50 posts is a guideline and is manually controlled, so just going around putting one word responses to 50 threads will not work...
jurjen
Posts: 20
Joined: Fri Jan 27, 2006 1:21 pm

Post by jurjen »

cool
Post Reply