It is simple that when the ball will move to the upwards to downward than it takes two seconds and after the one second the ball will be in the middle of the slope.the computer shows the right direction of the ball.