# Editor Utility Widget

For **BP\_Puzzle\_4**, a widget (**EUW\_SetupPuzzle\_4**) was made that opens in the editor for more convenient puzzle settings.

{% hint style="warning" %}
See on [this page](https://hichigo.gitbook.io/puzzles-vol-2/info) which plugin you need to enable for the widget to work.
{% endhint %}

## How to use the widget?

1. Select the puzzle set on the level
2. **Right click** on the **EUW\_SetupPuzzle\_4** widget
3. In the context menu that appears, select the **Run Editor Utility Widget** item

![](https://3120123249-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MTPoXNPWVHyazTKG_kQ%2F-Mc-2fOZWf2btfXNVh-d%2F-Mc-31Jn-5pLjf_oJlFh%2Fimage.png?alt=media\&token=85df6d6e-dd83-4e8e-bd37-d73e1ef0de16)

A widget window will appear.

![](https://3120123249-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MTPoXNPWVHyazTKG_kQ%2F-Mc-2fOZWf2btfXNVh-d%2F-Mc-3G_gWwia1jhHsvle%2Fimage.png?alt=media\&token=0679bd33-73e7-4cf0-8608-6b7a9a47e058)

Now with the puzzle selected on the level, click on the Init **Puzzle\_5** button.

![](https://3120123249-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MTPoXNPWVHyazTKG_kQ%2F-Mc-3PDJnUq9uXJwN-qM%2F-Mc-3h-kOLADZ1NhfsCR%2Fimage.png?alt=media\&token=23d879d5-7c2b-4079-984b-cadbe1afb0cc)

The widget will take information from the selected puzzle and display it on the screen.

From the drop-down list you can select a shape and when you click on the cells **LMB**, the square will change to the one that is selected in the drop-down list. They will change in the current state and in the win one.

When you **right-click** on a cell, the shape will rotate.

![](https://3120123249-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MTPoXNPWVHyazTKG_kQ%2F-Mc-3oFnOXAayFmTTotG%2F-Mc-6L3gmeNu3cfBqVyl%2Fimage.png?alt=media\&token=965ece66-f785-4fbd-b9e8-ae1315879cb4)

1. You need to set up the state of the puzzle that you need to collect to win.
2. After setting up the puzzle, the screenshot shows that the cells have spawned into each other, in order to fix this, you need to move the puzzle so that everything is updated.

![](https://3120123249-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MTPoXNPWVHyazTKG_kQ%2F-Mc-3oFnOXAayFmTTotG%2F-Mc-5R1VyEmwWJUZoQ3t%2Fimage.png?alt=media\&token=15744062-fcf9-4e57-8533-6cd0617932f3)

After moving the puzzle on the level, everything was updated.

![](https://3120123249-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MTPoXNPWVHyazTKG_kQ%2F-Mc-3oFnOXAayFmTTotG%2F-Mc-697jo2x_T3xdte17%2Fimage.png?alt=media\&token=5f7b2833-6621-47cb-b6ad-d2adf2c2651e)
