You can make a branch node and in it calculate if the player is eg… within one meter above or one meter below.