center( path, index )
instance function
Focus the camera on a path that has either been defined in the map editor or created via script.
Arguments
| Name | Type | Description |
|---|---|---|
| path | Path | The path to focus the camera on |
| index | Number | The index of the path point to focus on |
