# BUILTIN::TIMESTEP

- **Hash:** `0x0000000050597EE2`
- **Namespace:** BUILTIN
- **Runtime name (Lua/JS):** `Timestep`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/BUILTIN/TIMESTEP

## Signature

```c
float TIMESTEP();
```

## Returns

`float`

## Description

Gets the current frame time.

## Usage

### Lua

```lua
local retval = Timestep()

-- always available, by hash
local retval = Citizen.InvokeNative(0x0000000050597EE2, Citizen.ResultAsFloat())
```

### JavaScript

```js
const retval = Timestep();

// by hash
const retval = Citizen.invokeNative('0x0000000050597EE2', Citizen.returnResultAnyway(), Citizen.resultAsFloat());
```

### C#

```csharp
float retval = Function.Call<float>((Hash)0x0000000050597EE2);
```

*Sources: alloc8or RDR3 NativeDB.*
