# LapTimeTrackingEditor

This component can be found in the Editor folder and is responsible for visually outputting the relevant time trial data and lap state of your [LapTimeTrackingObject](https://llando.gitbook.io/ttsystem/components-prefabs/laptimetrackingobject).

This can be seen during runtime as text in the inspector by navigating to an object with the [LapTimeTrackingObject ](https://llando.gitbook.io/ttsystem/components-prefabs/laptimetrackingobject)component attached.

The data that this editor script exposes in the inspector is:

* Number of sectors on the track.
* Current lap time, formatted to be displayed as a proper time (ms)
* Personal best lap time, formatted to be displayed as a proper time (ms)
* IsSectorCompleted - Show the bool state of every sector in the track to see if the object has passed  that sector in the current lap.
* SectorTime - Show the raw value of the time taken to complete each sector in the track.
* SectorTimeConverted- Show the formatted version of the time taken to complete each sector on the track, displayed as a proper time (ms)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://llando.gitbook.io/ttsystem/internal-classes/laptimetrackingeditor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
