Programming a sprite to move, hit the border, and then go back to start position

I’m trying to program a sprite to originate at the top of screen, move to the bottom of the screen, and then when it hits the bottom, go back to the origin and repeat. This is the code I have so far, but the turtle object is hitting the green button and then resetting, rather than going all the way to the end of the screen and then resetting. Does anyone know what is wrong with my code?

You do't set the value of the OTHER variable in a collision event.

You test it against sprite components to decide what was hit, and how to react to it.

There is a When Edge Reached event block you can use to detect the bottom.

There is also a bounce block that works well with that.