input + gravity change