> For the complete documentation index, see [llms.txt](https://blowsy.gitbook.io/raven-b4/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://blowsy.gitbook.io/raven-b4/documentation/bridge.md).

# bridge

Allows scripts to communicate between one another.

### add

```java
bridge.add(String key, Object value);
bridge.add(String key);
```

Adds a value to the bridge map.

### clear

```java
bridge.clear();
```

Clears the bridge map.

### get

<pre class="language-java"><code class="lang-java"><strong>Object value = bridge.get(String key);
</strong></code></pre>

Returns the value stored under a specified key.

### has

```java
boolean containsKey = bridge.has(String key);
```

Returns true if the bridge map has a specified key.

### remove

```java
bridge.remove(String key);
```

Removes a value from the bridge map.
