It's checking for x position of 3 object. That maxAtk is not actually a damage calculation, but max range to atk.
So to update each x position i need to check every frame whether the current object x position has highest value.
If its greater than max, it will update the max value.
Doesn't relate to btn press or such,