# POSITION

### Description

Returns the Position of an element within a vector as Scalar\<Number>. The position of the element within the vector is the index of the element within the vector plus 1.

### POSITION(Vector\<Number>)

```java
POSITION(vector: Vector<Number>, targetElement: Scalar<Number>): Scalar<Number>
```

Returns the position of the given targetElement within the given Vector.

#### Parameters

<table><thead><tr><th width="172">Parameter</th><th>Description</th></tr></thead><tbody><tr><td>vector</td><td>A vector of type &#x3C;Number> within we search the position of targetElement.</td></tr><tr><td>targetElement</td><td>The targetElement of type &#x3C;Number> we are searching within given vector.</td></tr></tbody></table>

#### Returns

Returns the position of the searched element within the vector as Scalar\<Number>.
