---
name: "removeSimpleTask"
type: command
status: ok
groups: ["Briefing"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/removeSimpleTask
revid: 353336
updated: 2024-03-15T17:11:51Z
---

# removeSimpleTask

*Command · Briefing · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Remove a simple task from the list of simple tasks.

> [!NOTE]
> If the [Task](../topics/Task.md) to be removed is a child to some parent task and at the same time the parent to some child task, the child of this task gets orphaned and is listed in the root of Tasks tree (Tasks menu), retaining tree structure of its children.

## Syntax

```sqf
person removeSimpleTask task
```

**Parameters:**

- `person`: [Object](../topics/Object.md)
- `task`: [Task](../topics/Task.md)

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

## Examples

### Example 1

```sqf
player removeSimpleTask _tskKillSpongebob;
```

## See also

Tasks · [createSimpleTask](../commands/createSimpleTask.md) · [setSimpleTaskDescription](../commands/setSimpleTaskDescription.md) · [setSimpleTaskDestination](../commands/setSimpleTaskDestination.md) · [setTaskState](../commands/setTaskState.md) · [setTaskResult](../commands/setTaskResult.md) · [taskState](../commands/taskState.md)

<sub>Source: [BI Community Wiki — removeSimpleTask](https://community.bistudio.com/wiki/removeSimpleTask) (revision 353336).</sub>
