Why is it the same output everytime

So, i wrote a programm that prints your current rotation in north, east, south and west, but when i press the E key i get the same result over and over (N), what should i do?

Hello Ale4303,

Have you tried watching the blueprint in debugging while the game is running to watch the value that is being given to the “SwtichOnInt” node? It seems that it is always getting a “0” which I’m sure you’ve noticed. It would be useful to watch the value as it goes through the calculation to see if all of the math is working correctly.

ok thank you