Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

MapCamera

MapCamera(): Element | null

A city builder’s camera over the map, as Cities: Skylines’ and Anno’s on the keys and Google Maps’ under the fingers: its pivot sits on the ground, the movement keys pan along the ground, Q and E turn about the ground point, the wheel, a two-finger scroll and a pinch zoom toward the pointer and tilt toward top-down as they zoom out, the right button or two fingers turn and tilt, and a left or middle drag or one finger grab the ground while a still click selects; with a terrain tool in hand the left button and one finger paint instead. The devtools’ Map button mounts it in place of the scene’s camera and flies it up over the player’s character until the whole map is in view.

Element | null