Here even now in the last four days we have defined the toppling of eyes and blinking in this video.
We will go for this event.
Say this cheeky fist in which these eyes are making a motion of calls to action both of these and this
tongue from Hayden to Norma so let's begin with that one.
So for that one first of all I will define here two variables in the canvas.
First don't like both of these are for the state of these like this gross motion.
And in normal state it is false.
And this down.
Both of these initially false and I will vote according to them.
So first of all see that grossed underscored eyes and initially that one folds then C don't then we
will define for the tongue.
So something like tongue out.
And initially there is no doubt.
Maybe then I will define two functions here.
First one is for the pupils to toggle underscore pupils maybe go in that one I will use if condition
again like if not see Dot what the variable we have the closed end to scoop ice
and then what will happen in that case there will be a motion of C to move and I will define the position
here undisclosed left and decoded so that is 10 minus five.
David go then just copy this one for the right and these will be minus ten minus five they there go
and then to just make this variable grows dice to draw
as in the other condition just copy this one and move to the second position.
So here the coordinates will be different for that one just opposite of these two retraced the emotion
Dario so we will go back to the original position then this one false
so him.
Fewster then we get in get a little problem understanding this one if not see Dot crows dice what it
means.
So it actually means that if my Gross dies is false.
So that's why I have used note here and which is already false.
So I will get into this condition where my pupils will move to this particular direction and then in
the second case they will come back to its original position.
These are the coordinates for the original one.
So that is very easy.
Don't get confused in that one after that one I will define for the tongue and which is more easy than
this one.
So something like toggle underscored tongue pass defenses.
And one more thing this one will happen on clicking so we will define that one also that even.
Now first let me define this one if not see Dot turn out seem like the above one that if it turns out
is false.
So here I've just configured the items with their state.
I am not required to move detail.
I just make them from hidden to normal.
So see note I don't configure they will pass the first state on top.
They will and it state.
It will do normal.
Then just copy this whole they will base this on.
And then just the variable and out equal to group.
And this one they do mean because we have two parts of the tongue mean empty labial now for the as condition
just copy this one base this one here is these two he done
on and this will do false
now we have defined both of these functions doubling of time and pupils it's time to call them when
there is a click so I will define an order function here say cheeky that will work on click.
So even here I have told you complete news event and after day I will call both of these functions.
That is first one double.
There we go then we have two little boobies call them in any order because they will recall at once
then after that when I will write also here hide underscored happy event that is denoting my say happy
face hidden because I also need to cover this smile here.
Otherwise they will be posing each other so I need to hide that one for that event for that one I will
again call them node of two thousand say once I can get their vehicles after once second they are returning
to their original position because I also need to make them normal so that's why we have also defined
as him like First it will go for this one then after one second and out is already true then it will
go for this one to be normal so call the function say this one too well underscore done and second one
also with the same time period two girls under school pupils they will go and then just return nothing.
So this is how we can make the cheeky face and I hope you understand this one very easily because I
try to clear all the concepts here so thanks for watching.
This is about this event in the next video we will cover the happy face and sad face so see in the next
William.