The limit as <em>x</em> → 2 is 0. This is determined by the behavior of the blue-ish curve around <em>x</em> = 2.
When you're talking about a limit as <em>x</em> approaches some value <em>c</em>, you're really considering values of <em>x</em> ≠ <em>c</em> but very close to <em>c</em>. In this case, the blue-ish curve captures what happens around <em>x</em> = 2. To the left, the curve is falling toward 0, and to the right, the curve is falling further down from 0. The fact that <em>f</em> (2) = 3 (according to the green dot) has no effect on the value of the limit.