sprite = Sprite('Tobi') quarky=Quarky() while True: if quarky.readpushbutton("L"): sprite.move(-10) elif quarky.readpushbutton("R"): sprite.move(10)