center( entity )

instance function

This overload of the center function allows you to focus the camera on a specific Entity in the game world.

Arguments

Name Type Description
entity Entity The Entity to focus the main camera on