How can I toggle between mouse control and FPS control?

How to toggle between mouse control and FPS control??

Thanks in advance

Edit, I didn’t see you asked this in “Blueprint”. The following is an answer in C++
But you can access the function and variable of PlayerController in blueprint too!

Take a look at this tutorial. It does it in the middle of the Canvas UI code. ( Thanks Rama for this tutorial)

Basically he uses:

PlayerController:: SetIgnoreLookInput (bool); in order to stop moving the camera.

In the tutorial it uses Canvas to draw a cursor, but you can set PlayerController:: bShowMouseCursor to true to display the system cursor.

Hi Endika,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

Still experiencig the issue.