camera.storeState() -> disable double click restoreState() behavior

I am using camera.storeState(), and then reseting the camera via UI button, where I call restoreState(). But using storeState seems to set double click behavior where it restores state everytime I double click somewhere in the scene. I have a lot of clicking in my app so I would like to disable this behavior.

Seems simple, but I am missing it somehow :smiley:

Found it xD

camera.useInputToRestoreState = false

1 Like