Weird camera rotation

In the edit scene mode (note this is not the actual game)
the camera decides to pivot around the selected object(s) rather than
moving as normal with mouse / wasd.
Feels like the camera is in pivot mode or something
but i have no idea how to fix it.

Any help?
Thanks

Sounds like you might have hit Z or X by accident at some point