Hey everyone, hey, welcome to the Advanced Layer video... don't skip it, even though it sounds boring, it is super useful... when you are daily using Figma... I personally be waiting for this video in this course because... I don't know, we've been doing it the long way... there's been a lot of this, double click, double click, double click...
to get inside the stuff... there are shortcuts, and they're awesome, so let's get into them. So the first one is, let's say I want to change the text in this... we can click to the Parent frame, double click it to get inside... double click it to get in there again, I'm inside the button... just going down this layer stack by double clicking...
you can eventually get there, and we've finally, okay... I still can't click on it because I'm in Prototype mode... and that little dot was in the way... but eventually I can get there and change the text to something else... but there is way better shortcut... so if you just select the parent that you want...
to kind of go into, and then just hit 'Enter'... and Enter just ends up diving down inside of stuff, super good... to come back out of that kind of like layer stack, is your backslash, '\' so look at your keyboard, it's the one that's slanting backward... you can kind of go up and down this list... so 'Enter', 'Enter', 'Enter', can you see it going down over here in the layers... and then '\', '\', '\', comes out to that parent.
If I do want to get to this text here... or at least select everything inside of it... I can just click it once, hit 'Enter', and I'm inside my snack bar... I'm going to delete it, or change it... this is a good way of diving in and out of things. Let's do one more, let's do our button over here, 'Shift 2'...
with it selected just hit 'Enter'... and look, I can actually change the text without actually having to... click it and highlight it at all... I just pushed 'Enter' a couple of times... there you go. To get out of it, you know, the backslash backs you out of it...
if you've hit Enter too many times, I don't use that much, I hit 'Esc'... Esc means, let's get out of here... 'Esc' again, kind of gets back to not selecting anything... so generally, just click on the thing you want, hit 'Enter'... 'Enter', a couple of times, until the text is selected... and then we can go back to, I can't remember what this is called...
then smash 'Esc' a couple of times. Next one I want to show you, is you can actually just leap all the way in... so instead of going, you, and using the-- because this one's quite complicated, right? Great for a button, hitting 'Enter', you just go down the layers... you can actually just jump to it... by holding the 'Command' key on a Mac, 'Ctrl' key on a PC...
I got nothing selected, watch this, just click it... oh, we're in, it dove through quite a complicated card... can you see, it's quite deep, deep, deep... and I'm inside of there, and I can work on this, and break it... so just 'Command' click things to go... straight to the background, click on that...
hold down 'Command', click on this, you don't have to do... all the double clicking we've done in the course so far, happy days. The next one is choosing siblings, so I'm going to select this... 'Shift 2' to zoom in... and I'm going to hit 'Enter' to get inside... and it's selected everything in here, maybe that's not what I want...
what happens is, if I hit 'Tab' on my keyboard, can you see... it tabs along, what's called the siblings... so the parent is the wrapper on the outside... things inside of it are the children of it... but these children have siblings... because the siblings are just like one level deep...
these, that is the parent to this, and it has no siblings... because there's nothing else in there on that same level... but at this level there's the parent, these kids here have a big old family... you can just tab around, can you see... I can tab to the next one, to the next one... that can be handy, I don't use it very often...
you might be dealing with a lot more lists... my problem is, is that it kind of falls apart a little bit... like, let's go inside of this... let's tab, that one worked perfectly. So that's a good way of using it, just tabbing through the different variants... to select them...
and where is-- let's find another one, that might be broken... 'Shift 1', I reckon this one is... 'Shift 2', I reckon it is, because I've already practiced... if I'm here and want to tab down to the next one, look what happens... how do I go up, and I tab again, and I'm at the bottom... and I'm going all over the place...
basically what it does is... it doesn't look at your visual order on your Artboard it looks at the layer order over here... so can you see, let's move it over so we can-- I have to zoom in so far, so this one's at the bottom... even though it's on the top over here, and this Event card is underneath there... that one is there, so kind of gets a little bit sometimes tricky... when the layer order is not right.
I can rearrange them and that will then work... and I probably want to do that for when I kind of get this ready... for maybe my library to share with other people... or if you want to you can go super nerdy, and go 'Shift Tab'... so it's going the wrong way... can you see it now, so Tab is going backwards...
hold 'Shift Tab' to go the other way... "Is that useful, Dan?" Some people love the keyboard shortcuts, I do love keyboard shortcuts... some people will just want to click on them, and that's fine too... again, if you are inside of these things, Tab gets you out, the ejector seat. The last thing about siblings, and it kind of ties in with the first point as well... is let's say I just want to delete everything off this...
sometimes you're like, I don't delete the whole frame... I want to select everything in it... and you end up doing these weird selections... what you can do, click the parent frame, hit 'Enter'... and it just selects all the siblings inside of it... and hit 'Del', you can just clean things out quite easily that way...
'Esc' to get out. The next one here is, we've done this before... but I want to kind of include it in this video... there's a nice little wrap up of everything... is we do want to change the order of these... you can use your square brackets, next to the P key on your keyboard...
to move things up and down, so there's two ways of doing it... just holding nothing down and using the square brackets... either open or closed, can you see my Layers panel there... just goes all the way to the top, all the way to the bottom... if you do want to just move it up one or two... in between its siblings, hold 'Command' and do it...
can you see, it goes up one at a time... so now I can say, you're at the top, 'Tab' to the next one... pick this one at the bottom here, so I need to move it up one... so I'm going to hold 'Command', or 'Ctrl' on PC... and just, yeah, you want to be there, right? Perfect, nope, you want to be one down...
so now 'Shift Tab', I've got this one at the top... this next one there, you get the idea what I'm doing there? I'm just moving them around... so they're the same visual order as they are in the panels there... but I know some keyboards out there don't have those square brackets... so what you can do is...
'Command /', or 'Ctrl /' and just type in keyword shortcuts... and then have a little look at 'Arrange' to see what is set for your keyboard... they're trying really hard to get everybody's keyboards kind of aligned... hopefully, there's something in there for you there. Why are some of those blue? Some of them are blue because...
I've used them before, some of them, I don't use... or at least, I haven't used in this course so far... because I kind of reset my version when I start these courses, there you go. Another good layers shortcut is right clicking... so let's say this is somebody else's work, it's quite complicated... there's lots of levels and frames, and auto layouts...
I want to get the action text, or at least just see what's underneath here... I can right click, and I can say 'Select Layer'... can you see, it's showing me... both the parent, in this case, grandparent, parent, the thing that I right clicked... and then, in there, the snack bar action, then there's an auto layout... and then there's the text that I want...
you can supercharge that one by actually just holding down... the 'Command' key on a Mac, 'Ctrl' key on a PC, and just right clicking... and then it goes straight to this, cool, huh... same thing, just kind of goes directly to this layer list... and you can say, actually, I want this bit, copy it... and then paste it to do other things with.
So that is the mastering the layers in Figma... I'll add the shortcuts to the shortcut sheet... remember, that's in the Exercise Files... and I'll try and include them in the rest of this course... or you can ignore them and be the... guy or girl who just keeps clicking into infinity...
and eventually, you will click things, that is totally fine too... all right, that is it, I will see you in the next video.