 Now, so far, we've only been creating actions where it's me clicking on a button, but what happens if I want to do something with my mouse? Say for example, I want to take my BTN OK, and I want to indicate when the mouse actually kind of enters in, when it kind of gets the mouse over it, what do I want to do? So what I can come in here, and I can do the exact same thing I did with my set on action, I can actually come in here and I can go BTN OK, dot, and now instead of doing set on action, which is the button being clicked, set on mouse. Now as you notice I start to type out mouse, I get a whole slew of options that I can work from. On mouse, click, on mouse, drag, enter, on mouse, drag, exit, on mouse, drag, drag over, enter, exit, moved, pressed, clicked, released, I have so many mouse actions, if we think about it, that's really the case. I have things like my drag and drop method, I have just moving my mouse over it. Let's say for example, I want to deal with when I kind of enter in. Now what I'm going to do before I work on the Lambda expression is I'm going to do the old fashion way, the inner anonymous class, the event handler. Now instead of this being an action event, this is actually a mouse event, and the exact same thing comes into play. I throw in my curly braces and then my squigglies. Now it's airing out only because I must implement the handle method just like when I used an action event. And so again, what's it complaining about? I need to import this just like always, all right. I imported my, just to show that off, I imported scene.input, I'm going to just put the star there because that way I don't have to worry about the errors again. And now because of this, this event, again, it's just my parameter. This is no different than when I did AE for action event. I can do ME for mouse event. I wouldn't actually do that, ME, that sounds me, naming of that. I'm going to keep it event. I really wouldn't go with ME for mouse event. That doesn't sound, that sounds like it might be more confusing than helpful. But now what I can say is, oh, when the btnok, when the mouse enters into btnok, I want it to say something. And for my sake, I'll just have it say system.out.println, okay, button, mouse over. I run it, and as soon as I mouse over it, I can do this with all of them as you can guess. What I can do is I'm going to go ahead and just take this exact same code, and instead of entered, we're going to do 1, 4 when it exits, exited, mouse over, exited, mouse no longer mouse over. There we are, no longer mouse over. Ha, I run it again, now I mouse over the okay button, boop, as soon as I leave the okay button, boop, I'm no longer mouse over. So I can now kind of do this back and forth between it. So let's see if we can't maybe do something with that. So I mouse over, entered. So let's see, the btnok.set, let's see, where are you, where were you, set, we'll just do text fill for right now, color.rgb, or we'll just do color.red, why not, color.red. Make sure to import our color, I know, all these imports, craziness. Now when I run this, what should happen when I mouse over it, boop, my color turned red, ooh, my color didn't change, well guess what we can do, we can come back over here, take the same command, maybe put it over here, and instead put it back to black. Again now I run through this, and now I'm pretty much making sort of that indication, I get, you know, I get that effect for buttons just by default, but now I'm saying do a little bit more, ooh, look at that, make it red, make it not red, make it red, make it not red, make it red, make it not red, red. So we can continue to advance this out, one more thing I'll do is, again, let's reduce it down, let's do that lambda expression for now, set on mouse entered. These are the only two commands I want, and I have to do one, two, three, four, five, six lines for that now. What, what are we, are we in the stone ages here or something, let's just reduce that down to the bare essentials, let me just say event dash greater than, again that's for my lambda expression, boom, boom, boom, look at that, beautiful, I'm going to take that same code, I'm going to put it again for my BTN, let's see where are you, there you are, BTN exited, no longer black, so I've done the exact same thing just with lambda expressions, I've reduced how much I have to type, let's take a look at what happens when I run it, mouse over, ooh, oh, ooh, oh, ooh, oh, all with now just four lines of code.