the answer really depends on application one way to calculate whether you need a positive or negative rotation direction is

```
if self.get_angle_to(target.global_position) != 0:
turn = abs(self.get_angle_to(target.global_position)) / self.get_angle_to(target.global_position)
```

the abs() value divided by the actual value will result in -1 if the angle is negative or 1 if the angle is positive. you have to test if the angle is zero to avoid divide by zero error.