上QQ阅读APP看书,第一时间看更新
Changing the layer order
In 2D projects, layer order matters. Let's say we had a project with three backgrounds. The background that would appear at the top of the layer stack is what we will see. The other two layers would be invisible.
How to do it...
- From this chapter's exercise files, open the
01_05
project. - There are three gradient layers in this project but in the Canvas we only see the You can see me layer. Select this layer and drag it underneath the I'm hidden too layer without releasing the mouse. Make sure you see a blue line with an icon and not the plus symbol, as shown in the following screenshot. If you do, drag with your mouse slightly to the right and then release your mouse.
- Notice that you can now see the I'm hidden layer being displayed. Select the I'm hidden too layer and drag it above the I'm hidden layer.
- The I'm hidden too layer should now be seen.
There's more...
We can easily move layers in the Layers tab using shortcuts.
Moving layers with shortcuts
Sometimes when you drag elements in the Layers tab, you may accidently create a group instead of moving a layer. By using the keyboard shortcuts Command + [ and Command + ], we can easily move a layer up and down in a group.
See also
- The Groups versus layers recipe