use the overlapping function(inverted) and keep the teleporter disabled until the sprite is not overlapping the object by having a global variable so that on the colision of a teleporter add 1 to the variable and keep the teleporter disabled until the variable > 2 and set the variable to 0 when the sprite is no longer overlapping the teleporter.
sprite on collision with teleporter
-variable=variable+1
if variable >2
-teleport disabled
if sprite overlapping(x) teleporter
-variable=0