Little issue with Mouse X and Mouse Y
Hi ! I have a little issue with the Mouse X and Mouse Y node, I made this simple script to drag my camera in the game.
The issue is that i need to hold pressed the mouse button to drag the camera, I just want to drag the mouse without any button pressed, there is a way to do that ?
PS: Sorry for my english and thank you.
asked Sep 16 '18 at 12:43 PM in Blueprint Scripting
Judging by the script you do not need to hold the button. This should work as is. You also do not need to cast in this case. It will work without it.
You may have a problem with capturing the initial click, though. Can you try clicking in the viewport once after running the game. Once you've clicked you should still be able to move the camera without holding the button.
Is this the case?
answered Sep 16 '18 at 12:56 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here