Button doesn´t rotate libGDX
问题 I want to rotate a button. Therefore I wrote the following code: public void show () { skin2 = new Skin (Gdx.files.internal("SettingsButton.json")); button2 = new Button(skin2); button2.setPosition(25,1440); button2.setSize(120,120); button2.setOrigin(button2.getWidth() / 2, button2.getHeight() / 2); button2.addAction(Actions.repeat(RepeatAction.FOREVER, Actions.sequence( Actions.rotateBy(360, 1), Actions.rotateTo(0)))); button2.addListener(new ClickListener(){ @Override public void clicked