I'm using .get_rotation() to get the rotation value in radians of a Node2D node.

The problem I'm having is that after every rotation of the node, it's rotation value keeps on going up/down.

Basically, I need a way to get the rotation to range between [0, 2PI] only, and not their multiples.

Maybe I need to get the rotation and then apply some math functions to get the [0, 2PI] equivalent but I don't know how...