---
name: "BIS_fnc_relPosObject"
type: function
status: ok
groups: ["Positions", "Geometry"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_relPosObject
revid: 327211
updated: 2022-07-12T22:11:45Z
---

# BIS_fnc_relPosObject

*Function · Positions, Geometry · Arma 3 v1.00*

## Description

Place an object relative to another object, like a *setRelPos* command.

## Syntax

```sqf
[parent, child, relPos, direction] call BIS_fnc_relPosObject
```

**Parameters:**

- `parent`: [Object](../topics/Object.md) - the parent object
- `child`: [Object](../topics/Object.md) - the child object
- `relPos`: [Position](../topics/Position.md) - *child* position relative to *parent*
- `direction`: [Number](../topics/Number.md) - (Optional, default 0) direction of the child object

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
[BIS_briefingTable, BIS_map, [0, -0.58, 0.857], 98] call BIS_fnc_relPosObject;
```

## See also

[getRelPos](../commands/getRelPos.md) · [getPos](../commands/getPos.md)

<sub>Source: [BI Community Wiki — BIS fnc relPosObject](https://community.bistudio.com/wiki/BIS_fnc_relPosObject) (revision 327211).</sub>
