How do I check for movement?

I’ve got an object that shoots forward and then returns to its original position. How do I check when it’s reached its peak and starts to make its way back?

If by “forward” you mean “up”:

if (rigidbody.velocity.y < 0.0) ...

If you did mean “forward”, is it bouncing off a wall? You could still check the velocity in much the same way, though.