Help! I have a script to set show mouse boolean true which works but it does not let me drag my mouse to move the camera untill i click, and the same goes when i disable it.

well im trying to make it so when i equip a certain item it makes it so i have a free cursor so i can place blocks