Phaser API Documentation

followOffset: Phaser.Math.Vector2


The values stored in this property are subtracted from the Camera targets position, allowing you to offset the camera from the actual target x/y coordinates by this amount. Can also be set via setFollowOffset or as part of the startFollow call.

Since: 3.9.0
Source: src/cameras/2d/Camera.js (Line 163)