Sharing these two examples together since they are closely related. These scripts make use of the every render frame tick
trigger and both modify the client’s camera.
Drag to move Camera
In this example you can drag the map around using the right mouse button (it also works on mobile with drag). You can press Space to toggle between the free camera and follow camera modes.
Try drag to pan here.
Zoom with Pinch / Mouse Wheel
This example was made to test the new secondary touch feature that detects when a second finger taps on the mobile screen. It is used to allow zooming in/out for mobile players. It also includes an example of using the mouse wheel to zoom.
Try pinch to zoom here