# Blueprint Macros
> Blueprint Macros Library

A collection of general usage [Blueprint Macros](https://dev.epicgames.com/documentation/unreal-engine/macros-in-unreal-engine) that can be used in any project to improve the workflow and reduce the amount of code duplication.

---

## <span class="label">Utilities</span>

[//]: <> (=========================================================================================)

:::api
### Is None

Check if a Name variable is None.

![](/static/img/examples/is-none.png)

:::
<br>

[//]: <> (=========================================================================================)

:::api
### Is Empty Text

Check if a Text variable is empty.

![](/static/img/examples/is-empty-text.png)

:::
<br>

[//]: <> (=========================================================================================)

:::api
### Is Empty

Check if a String variable is empty.

![](/static/img/examples/is-empty.png)

:::
<br>

[//]: <> (=========================================================================================)

:::api
### Is Populated

Check if an array variable has any elements.

![](/static/img/examples/is-populated.png)

:::
<br>

---

## <span class="label">User Interface</span>

[//]: <> (=========================================================================================)

:::api
### Is in Viewport

Check if a Widget is currently in the viewport.

![](/static/img/examples/is-in-viewport.png)

:::
<br>

---

## <span class="label">Editor</span>

[//]: <> (=========================================================================================)

:::api
### Is with Editor

Check if the game is running in the editor.

![](/static/img/examples/is-with-editor.png)

:::
<br>

---

[//]: <> (=========================================================================================)

:::api
### Is Running

Check if the game is running, or is editing or design time.

![](/static/img/examples/is-running.png)

:::
<br>

---

[//]: <> (=========================================================================================)

:::api
### Is World Type

Check the current world type.

![](/static/img/examples/is-world-type.png)

:::
<br>

---

## <span class="label">Animation</span>

[//]: <> (=========================================================================================)

:::api
### Is Animation Playing

Check if an Animation is currently playing on a Widget.

![](/static/img/examples/is-animation-playing.png)

:::
<br>

---

## <span class="label">Network</span>

[//]: <> (=========================================================================================)

:::api
### Is Host

Check if the current instance is the host of the game (Server).

![](/static/img/examples/is-host.png)

:::
<br>

[//]: <> (=========================================================================================)

:::api
### Has Authority

Check if this actor as network authority.

![](/static/img/examples/has-authority.png)

:::
<br>

---
