# Interaction Prompts

Interaction prompts is the glue that holds our interaction system, and our player interacting with objects together. Relaying the correct and relevant information makes the difference between an interaction system *feeling* good or not. The widget blueprint used to display these prompts is the `Interaction_W`

<div align="center"><figure><img src="https://3388235609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUYeqvDsstN2ZNva2Lkl7%2Fuploads%2F3qNJRp7W3N9nTXF1sdbl%2FInteractWidget.png?alt=media&#x26;token=6f98dcd8-0442-43a8-8255-35b5932e853b" alt=""><figcaption><p><em>(SF > Core > User Interface > Widgets)</em></p></figcaption></figure></div>

SF's interaction prompts update dynamically and according to the defined interaction methods or prompt texts that are set on your interactable objects. A few examples of this is using the `HasItem` interaction method and setting inventory icons for the target items will display the target items above the prompts themselves, setting the SIM to "None" will only display a single label for picking up the item, setting the `Prompt Text` value to "{empty}" will only display the objects name, and setting the `Prompt Text` value to "{simplified}" will only display the input key, and no other information.

<details>

<summary>List of Prompt Styles</summary>

<figure><img src="https://3388235609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUYeqvDsstN2ZNva2Lkl7%2Fuploads%2Fx2KGywYbLHxKehd1SkSx%2FDefaultPrompts.png?alt=media&#x26;token=bb7c0ae1-3bb4-4545-920e-a0da1e98db1c" alt=""><figcaption><p>Default Prompt Style</p></figcaption></figure>

<figure><img src="https://3388235609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUYeqvDsstN2ZNva2Lkl7%2Fuploads%2F0s2rVP08m0I9Namr8RpM%2FSIMPrompt.png?alt=media&#x26;token=c76d78ec-04f6-49a0-9082-92be36a07c3d" alt=""><figcaption><p>Primary &#x26; Secondary Assigned Interaction Method Prompt Style</p></figcaption></figure>

<figure><img src="https://3388235609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUYeqvDsstN2ZNva2Lkl7%2Fuploads%2FR5m11VrREQAJw3256sWp%2FHasItemPrompt.png?alt=media&#x26;token=c7b3f3a7-4e3d-4fba-99fa-ee46dbe7d9d9" alt=""><figcaption><p>Has Item Interaction Method Prompt Style</p></figcaption></figure>

<figure><img src="https://3388235609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUYeqvDsstN2ZNva2Lkl7%2Fuploads%2F7ky557gPoPnYyokjeLEO%2FEmptyPrompt.png?alt=media&#x26;token=6dd78f00-779e-4433-84ab-07ac871780b3" alt=""><figcaption><p>{empty} Prompt Style</p></figcaption></figure>

<figure><img src="https://3388235609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUYeqvDsstN2ZNva2Lkl7%2Fuploads%2FmKxHJrmNWEyRDRlKH8h8%2FSimplifiedPrompt.png?alt=media&#x26;token=0aaa28d6-6b2f-4c60-aef1-4c391eab572d" alt=""><figcaption><p>{simplified} Prompt Style</p></figcaption></figure>

</details>

***

When editing this widget, you might notice that the widget blueprint seems to contain an empty canvas when opening this asset. This is because this widgets opacity is overridden inside the `SFInteractionWidget_SC` scene component, and as such we leave the opacity of this widget to "0,0", or when we have finished editing it. You can set this widgets opacity to "1,0" to modify it by selecting the `Interaction_W` element at the top of the elements hierarchy and changing its opacity.

<figure><img src="https://3388235609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUYeqvDsstN2ZNva2Lkl7%2Fuploads%2FqT0FG93f1UKzW9946kU0%2FInventoryPromptWidgetOpacity.png?alt=media&#x26;token=68fe16c1-65cc-4bdd-8659-ca7ce2716e52" alt=""><figcaption></figcaption></figure>
