That did the trick, thank you very much!
For this project that’s all I need, but I’m still wondering: is it possible to get the current active camera or maybe all camera objects via Javascript? (Couldn’t get it to work with puzzles because it’s not possible to plug the “active camera” puzzle into an if-query).
If one could retrieve a list of current camera objects in the scene, that could make it possible to adjust camera properties on the fly without switching cameras and would allow for great flexibility.