This time I gave you a choice between either X or Y!
Absolute values, logarithms, and Euler's number cause chaos in scratch. Usually, you should use absolute value when you're coding a form of bouncing. I don't have any idea what you're gonna use logarithms or Euler's number for.