---
name: "elevatePeriscope"
type: command
status: ok
groups: ["Object Manipulation", "Animations"]
arma3_since: "2.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/elevatePeriscope
revid: 377904
updated: 2026-01-05T18:01:10Z
---

# elevatePeriscope

*Command · Object Manipulation, Animations · Arma 3 v2.00*

## Description

Elevates periscope of a vehicle. Vehicles in Arma 3 which are compatible with this tech are Strider, remote laser designators, the robot arm on Eddie, etc.
Please note that SDV submarine has a different periscope, which is just an animated selection and could be raised and lowered with [animate](../commands/animate.md) command.

> [!NOTE]
> - a user can immediately override any elevation in progress by using assigned keyboard keys. To block user input see the *blockUserInput* parameter.
> - a [PeriscopeElevationChanged](../topics/Event_Handlers.md#periscopeelevationchanged) entity event handler is also provided.

## Syntax

```sqf
vehicle elevatePeriscope [turret, elevation, speed, blockUserInput]
```

**Parameters:**

- `vehicle`: [Object](../topics/Object.md) - vehicle with periscope tech
- `turret`: Turret Path - turret on which periscope is located
- `elevation`: [Number](../topics/Number.md) - elevation range 0..1
- `speed`: [Number](../topics/Number.md) or [Boolean](../topics/Boolean.md) - (Optional, default -1) config anim speed multiplier, 2 - twice as fast, 0.5 - twice as slow, etc. -1 - default config speed. If [true](../commands/true.md) is used as param, the change in elevation is almost instant
- `blockUserInput`: [Boolean](../topics/Boolean.md) - (Optional, default [false](../commands/false.md)) [true](../commands/true.md) to disable user ability to control periscope with keyboard. The change is persistent unless set to [false](../commands/false.md) again

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

## Examples

### Example 1

```sqf
_eddie elevatePeriscope [[0], 0.75, 0.1];
```

## See also

[periscopeElevation](../commands/periscopeElevation.md) · [animate](../commands/animate.md) · [Arma 3: Event Handlers](../topics/Event_Handlers.md)

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