How can exit a scenario when I reach a certain point?

So I’d like to achieve something similar to the example below, in other words
exit the scenario when the user reached this point.


Gatling docs states that .exitHere is a valid component but it is not available on
my Gatling 3.4. What am I missing?

Thank you