What makes the block "is cardinal"?

please help, I’ve been making games for a year now, but I still don’t know what this block is

1 Like

From what I can tell, “Is cardinal” takes a given angle (specified as an expression) and a given direction, (N, S, E, W, NE, NW, SE, SW) and it returns true if the angle is within the boundries for the given direction. (Is 3.4 rads pointing east?) Since “angle” is an expression, you can do a lot more than that, but you get the jdea.

I think it tells you in which direction an angle, gven in radians, is pointing, without having to convert radians to degrees.

However, I’ve honestly never used it so it’s just a guess.

1 Like