Select the AnimationPlayer Node
Let's start by making the head
With the Body Node selected
Click on the key next to position
A popup appears asking you to Create
Click Create and ensure that
Create RESET track is also ticked.
The duration of the animation is 1 second
Move the timeline to 0.5 seconds
Set the y position to -60px
Press the key to add the key frame
Move the timeline to 1 second
Set the y position back to -65px
Set the animation to loop
Now that the head is moving up and down let's focus on the slight rotation for the bobble effect.
Let's continue by making the head
With the Body Node selected
Click on the key next to rotation
A popup appears asking you to Create
Click Create and ensure that
Create RESET track is also ticked.
The duration of the animation is 1 second
Move the timeline to 0.5 seconds
Set the rotation to 5 degrees
Press the key to add the key frame
Move the timeline to 1 second
Set the rotation back to -1.5px