# VEHICLE::_GET_BALLOON_OBJECT_FROM_VEHICLE

- **Hash:** `0x0BA4250D20007C2E`
- **Namespace:** VEHICLE
- **Runtime name (Lua/JS):** `GetBalloonObjectFromVehicle`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/VEHICLE/_GET_BALLOON_OBJECT_FROM_VEHICLE

## Signature

```c
Entity _GET_BALLOON_OBJECT_FROM_VEHICLE(Vehicle vehicle);
```

## Parameters

- `vehicle` (`Vehicle`)

## Returns

`Entity`

## Description

*Source: alloc8or RDR3 NativeDB*

Returns the balloon OBJECT entity attached to a hot air balloon vehicle.

Returns 0 if:
	- vehicle is not a hot air balloon type, or
	- the balloon object is not present.

Notes:
	- Returned handle is typically an OBJECT (not a ped/vehicle).
	- Always validate with ENTITY::DOES_ENTITY_EXIST before use.
	- Example image: https://imgur.com/a/YWDUJ56

*Source: VORPCORE RDR3natives*

Returns the balloon object attached to a hot air balloon vehicle. 

If the input vehicle is a hot air balloon, the native returns the object entity
that represents the balloon itself (the inflated top part). 
If the vehicle is not balloon-type or the balloon object does not exist,the function returns 0. 
Always validate the returned handle with ENTITY::DOES_ENTITY_EXIST.
Notes:
- Only useful for hot air balloon vehicles.
- The returned handle is typically an OBJECT, not a PED or VEHICLE.

## Usage

### Lua

```lua
local retval = GetBalloonObjectFromVehicle(vehicle)

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

### JavaScript

```js
const retval = GetBalloonObjectFromVehicle(vehicle);

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

### C#

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

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB, VORPCORE RDR3natives.*
