The character flips fine but only in one way.
![Twitter](/assets/twitter-4e19209ef84344ee0c433f4c7bad8d49.png)
![Twitter.hover](/assets/twitter.hover-1fb19a5bafc50deace8f88eaec867845.png)
# private void flip(int x) # { # // int flip = 0; (you've already got "x") # for (int i = 1; i <= 8; i++) # { # if(x > 0) // (use x since you chose it) # { # setRotation(getRotation() + 45); # wait(10); # } # if (x < 0) # { # setRotation(getRotation() - 45); # wait(10); # } # } # }