Prevent XYZ camera movement but retain ability to 'look' around

This probably has a simple solution, but I can’t work it out; can anyone tell me how to prevent character movement but retain the ability to look around with the camera?

I suppose it depends where you are at, but let’s go with the easy answer:

  • Create a bool, name it “bMoveLock”
  • When you want to disable movement but allow camera movement
  • Set it to true
  • Put the branches right after the input axis
  • Use the bMoveLock variable to set the Branch to true or false
  • Don’t forget to set bMoveLock back to false in some way or character will not be allowed to move forever

Thanks VictorBurgos, that worked perfectly!

No problem! can you mark my answer as correct so we can close this out? thanks!