Make Bolt "nod"

I need to use block coding to make my Bolt nod. Like stationary but front LED would move up then down.
Can anyone help??