What is the period of the function shown in the graph?

At origin, the value of the function is [tex]0[/tex]
and then it again becomes zero for the first time is at $2$
but the function isn't repeating itself (it's going downwards)
at $x=4$, it's exactly same, hence the period is $4$