---
name: "BIS_fnc_priorityQueue_GetLowestPriority"
type: function
status: ok
groups: ["Priority Queue"]
arma3_since: "1.86"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_priorityQueue_GetLowestPriority
revid: 273939
updated: 2021-06-13T01:13:47Z
---

# BIS_fnc_priorityQueue_GetLowestPriority

*Function · Priority Queue · Arma 3 v1.86*

## Description

Get the highest priority in the queue

## Syntax

```sqf
[] call BIS_fnc_priorityQueue_GetLowestPriority
```

**Parameters:**

- `_handle` — INT - Queue handle (get it with BIS_fnc_PriorityQueue_Init)

**Returns:** _priority:SCALAR - the priority

## Examples

### Example 1

```sqf
_myItem = [_priorityQueue_1] call BIS_fnc_PriorityQueue_PopItem;
```

## Function header

The comment at the top of the function's file in the game; this page's description, params, returns, examples come from it.

```sqf
/*
Author: Zozo

Description:
Get the highest priority in the queue

Parameters:
_handle:INT - Queue handle (get it with BIS_fnc_PriorityQueue_Init)

Returns:
_priority:SCALAR - the priority

Syntax:
_item:ANY = [_handle] call BIS_fnc_PriorityQueue_GetHighestPriority;

Example:
_myItem = [_priorityQueue_1] call BIS_fnc_PriorityQueue_PopItem;
*/
```

<sub>Source: [BI Community Wiki — BIS fnc priorityQueue GetLowestPriority](https://community.bistudio.com/wiki/BIS_fnc_priorityQueue_GetLowestPriority) (revision 273939).</sub>
