This is a bolt and nut tightening simulation

I want to fix the nut and rotate the bolt to simulate how the bolt moves.
I changed the project but it’s not working.
What should I do? Please advise.