# UISTATEMACHINE::UI_STATE_MACHINE_CAN_REQUEST_TRANSITION

- **Hash:** `0xF7C180F57F85D0B8`
- **Namespace:** UISTATEMACHINE
- **Runtime name (Lua/JS):** `UiStateMachineCanRequestTransition`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/UISTATEMACHINE/UI_STATE_MACHINE_CAN_REQUEST_TRANSITION

## Signature

```c
Any UI_STATE_MACHINE_CAN_REQUEST_TRANSITION(Any p0);
```

## Parameters

- `p0` (`Any`)

## Returns

`Any`

## Usage

### Lua

```lua
local retval = UiStateMachineCanRequestTransition(p0)

-- always available, by hash
local retval = Citizen.InvokeNative(0xF7C180F57F85D0B8, p0, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = UiStateMachineCanRequestTransition(p0);

// by hash
const retval = Citizen.invokeNative('0xF7C180F57F85D0B8', p0, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0xF7C180F57F85D0B8, p0);
```

*Sources: alloc8or RDR3 NativeDB.*
