Vector Block (I think thats what its called)

I would love to have a block that would take an x and an y value and convert it into an angle
@grazer Is this already possible?

With the extract block I believe yes

@edwardi
I have a bundle called “Angle To” that does exactly as you said.
Flolwab also as the “Point At” behavior that also does this, but it also forces the object to rotate to it.

You can compare both below below:

1 Like

Take a look at the example JR_01 posted. It uses the expression block to take the x and y and turn it into an angle.

thanks I figured that out just before you posted it though it would be nice to not have to do the math

you can make a point at then reset the angle after it will output the value without changing the rotation an example is what i did with the enemies in this game