public void disable() {
   float x = this.getX();
   float y = -50f;
   MoveToAction action = new MoveToAction();
   action.setPosition(x, y);
   action.setDuration(0.3f);
   this.addAction(action);
   enabled = false;
 }
 public void enable() {
   float x = this.getX();
   float y = _originalY;
   MoveToAction action = new MoveToAction();
   action.setPosition(x, y);
   action.setDuration(0.3f);
   this.addAction(action);
   enabled = true;
 }
  @Override
  public void create() {
    stage = new Stage();
    Gdx.input.setInputProcessor(stage);

    MyActor myActor = new MyActor();

    MoveToAction action = Actions.action(MoveToAction.class);
    action.setPosition(100, 0);
    action.setDuration(2f);
    action.setInterpolation(Interpolation.linear);
    myActor.addAction(action);
    stage.addActor(myActor);
  }
 public void setPosition(float x, float y) {
   moveToAction.setPosition(x, y);
 }