center( position )

instance function

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

Arguments

Name Type Description
position Vector The positon in the world to focus the main camera on