Component.FixedToCamera

Class: Phaser.Component.FixedToCamera

Constructor

new FixedToCamera()

The FixedToCamera component enables a Game Object to be rendered relative to the game camera coordinates, regardless
of where in the world the camera is. This is used for things like sticking game UI to the camera that scrolls as it moves around the world.

Source code: gameobjects/components/FixedToCamera.js (