I would like to create some code, I've already got half. Here's what I've got:
I would like the question mark to be a method that indicates when the object is facing between 1 and 180 degrees. So when the object is facing up or down, it automatically turns left again.
Thanks for your help.
EDIT: I obviously need something to do with getRotation.
if (?) { setDirection(270); }