This is the atan2 function, and I found a way to make it without any conditionals. Look at the "atan2" custom block, there are absolutely none! Just pure math. 90*(sign(x)*(sign(x)-1)+1)-arctan(y/x) If you like you can use this