Limit rotation gdscript

Godot version 4.2.1
Limit rotation in gdscript

can you please explain in greater detail? if possible, please include source code so we can see what you are doing.