How to implement shaky mouse cursor to my project?

I tried it and to be honest it works better than I expected. The shake would still need to be more frequent and the green “yes” button should have some kind of gravity pull affecting the cursor, so it looks like it’s fighting with the player.

I want to implement a “big decision” moment to the project and I really need to show how the main character wants to kill the bad guy, but knows he can’t because (insert a reason here). So in that case there would be a “kill” and “spare” options and the cursor would automatically go to “kill” and shake when hovered over “spare”. It’s just something I want to try out as a storytelling practice.

Thank you, Everynone. For now it’s a good start and I think I can make something out of it.