How to make part rotate towards mouse in only one axis

Hello, everyone.

The question is simple, although it seems the process would be difficult.
How would I make a part rotate towards the mouse in only one axis? I’m trying to make a lever in which players can pull with their mouse.

-coolguyweir

1 Like

Help is still greatly appreciated! I still unfortunately have found no valid approaches