getButtonPress can only be used once per loop. If it is used a second time further down it won't work.
getButtonPress can only be used once per loop. If it is used a second time further down it won't work.