@remi-1286167-510cee35

If you use the pointer lock, the v-angle will be automatically changed. But you said you want to limit the v-angle?

If you want it to move freely but within a range, you can still use the same block to set the v-angle whenever it is outside the range.