How to achive Rotation only with left and right direction

Hi there.
I have a Mesh and able to rotate it, but how can i achieve like rotation only to left and right not required to rotate up and down.
Thanks in advance

    camera.upperBetaLimit = BABYLON.Tools.ToRadians(90)
    camera.lowerBetaLimit = BABYLON.Tools.ToRadians(90)

Example -

Please note, that you rotate not mesh, but camera.


Thanks for the information and solution about rotation @labris.