rotation of one element of a character

Hello,

When I insert my .fbx character into Unity the lids are closed by default… :frowning:
I would like to be able to rotate the lids with a script (javascript). So I could rotate them to have opened eyes but to be able to close or open them too when I need that in the game (like humans do it !)…
I have tried with a transform.Rotate and so on but they have moved around the X-axis without stopping !?!

Could you help me, please ???
6R

Try transform.rotation or transform.localRotation. Look here:

and here:

Thanks Vimalakirti…
I will look at this to see if I understand how it works.

(Did you see I sent you a PM for several days about something else ?)
6R