---
name: "BIS_fnc_initInspectable"
type: function
status: ok
groups: ["Interaction"]
arma3_since: "1.76"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_initInspectable
revid: 376287
updated: 2025-09-29T12:34:48Z
---

# BIS_fnc_initInspectable

*Function · Interaction · Arma 3 v1.76*

## Description

Initialize inspectable object: add "Inspect" action to the object. When a player activates it, full-screen detail of the objects is shown.

## Syntax

```sqf
[inspectable, textureInfos, fullScreenText, soundName] call BIS_fnc_initInspectable
```

**Parameters:**

- `inspectable`: [Object](../topics/Object.md) - object on which the action is added
- `textureInfos`: can be one of the following:
  - [String](../topics/String.md) - texture path
  - [Array](../topics/Array.md) - [texture, index, aspectRatio]:
    - texture: [String](../topics/String.md) - texture path
    - index: [Number](../topics/Number.md) - (Optional, default 0) index on which the texture will be mapped on the object using setObjectTexture. Use -1 to ignore.
    - aspectRatio: [Number](../topics/Number.md) - (Optional, default -1) texture aspect ratio. 0.5 means width will be 0.5 of the height. -1 means texture default.
  - [Boolean](../topics/Boolean.md) - [true](../commands/true.md) to instantly show the *inspectable* full-screen preview (**following params are then ignored**)
- `fullScreenText`: [String](../topics/String.md) - text to be shown after clicking on READ button. Ideally localized.
- `soundName`: [String](../topics/String.md) - sound played when entering full-screen preview. Sould be defined in [CfgSounds](../topics/Description.ext.md#cfgsounds).

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

## Examples

### Example 1

```sqf
[myLeaflet, "#(argb,8,8,3)color(1,0,1,1)", "This is some Magic Pink"] call BIS_fnc_initInspectable; // initialize
```

### Example 2

```sqf
[myLeaflet, true] call BIS_fnc_initInspectable; // Show preview instantly
```

## See also

[BIS_fnc_holdActionAdd](../functions/BIS_fnc_holdActionAdd.md) · [BIS_fnc_holdActionRemove](../functions/BIS_fnc_holdActionRemove.md)

<sub>Source: [BI Community Wiki — BIS fnc initInspectable](https://community.bistudio.com/wiki/BIS_fnc_initInspectable) (revision 376287).</sub>
