---
name: "taskType"
type: command
status: ok
groups: ["Briefing"]
arma3_since: "1.58"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/taskType
revid: 339088
updated: 2023-04-26T10:54:07Z
---

# taskType

*Command · Briefing · Arma 3 v1.58*

## Description

Returns the type of the given task. A new task returns "Default" for the type.

## Syntax

```sqf
taskType task
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
_type = taskType (currentTask player);
```

## See also

[setSimpleTaskType](../commands/setSimpleTaskType.md) · [taskName](../commands/taskName.md) · [currentTask](../commands/currentTask.md) · [setSimpleTaskCustomData](../commands/setSimpleTaskCustomData.md) · [taskCustomData](../commands/taskCustomData.md) · Arma 3: Task Framework

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