---
name: "BIS_fnc_richCurve_edenDrawControlPoints3D"
type: function
status: ok
groups: ["Curve3DEN"]
arma3_since: "1.78"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_richCurve_edenDrawControlPoints3D
revid: 379571
updated: 2026-10-31T14:00:14Z
---

# BIS_fnc_richCurve_edenDrawControlPoints3D

*Function · Curve3DEN · Arma 3 v1.78*

## Description

Draws the control points (keys) of a rich curve in the Eden Editor 3D view. For every key of the curve it draws three 2 m long lines from the key's position, showing the key's orientation: its direction (green), its up vector (blue) and the cross product of both (light red). If 3D icons are visible in Eden (see [get3DENIconsVisible](../commands/get3DENIconsVisible.md)), the key's index is also written 4 m below the key, in green for a selected key and in white otherwise.

The drawing lasts one frame only, so the function has to be called every frame. It is used internally by [BIS_fnc_richCurve_edenTick](../functions/BIS_fnc_richCurve_edenTick.md), which calls it while the left Ctrl key is held down in Eden.

> [!NOTE]
> The colour parameter described in the function's header is not used: the colours are fixed.

## Syntax

```sqf
[curve] call BIS_fnc_richCurve_edenDrawControlPoints3D
```

**Parameters:**

- `curve`: [Object](../topics/Object.md) - the curve whose keys are drawn

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

## Examples

### Example 1

```sqf
// as done by BIS_fnc_richCurve_edenTick on every frame
if (missionNamespace getVariable ["BIS_keyframe_controlPressed", false]) then
{
    [_curve] call BIS_fnc_richCurve_edenDrawControlPoints3D;
};
```

## See also

[BIS_fnc_richCurve_edenTick](../functions/BIS_fnc_richCurve_edenTick.md) · [BIS_fnc_richCurve_edenDrawCurve3D](../functions/BIS_fnc_richCurve_edenDrawCurve3D.md) · [BIS_fnc_richCurve_getKeys](../functions/BIS_fnc_richCurve_getKeys.md) · [BIS_fnc_key_edenIsSelected](../functions/BIS_fnc_key_edenIsSelected.md)

<sub>Source: [BI Community Wiki — BIS fnc richCurve edenDrawControlPoints3D](https://community.bistudio.com/wiki/BIS_fnc_richCurve_edenDrawControlPoints3D) (revision 379571).</sub>
