Console.log won't work

I have a short animation that moves a ball on the screen by clicking on it. The ball behaves normally, but console.log does not work. Lines above (position += 30) and below (ball.transition…) work fine but I can’t get console.log(position) to show the current value of position.

And my Subway Track code is here See it images:

I don’t see any console.log in here, is this related to the original question?